added C++11 style attributes to number_of_args.cpp test