1234567891011
#include <functional> using namespace std; template<typename...Args> void on(function<void(Args...)> f) { function<void(Args...)> fn; // this line causes error C2059: syntax error : '<fake-expression>' } int main() { function<void()> f; on(f); }