////////////////////////////////////////// // MT4Q3 - function running function #include template bool somefunc(T t) { t.say(); return true; } struct Talker { static void say() { std::cout << "\n a Talker type here"; } }; template bool runner(bool(*fptr)(T), T t, int N) { bool retval = true; for(int i=0; i, t, 3)) std::cout << "\n at least one call failed"; else std::cout << "\n all calls succeeded"; std::cout << "\n\n"; }