notify in cpp use variable argument.