cxx1y-generic-lambdas.cpp | 195 template<class ... Ts> void vfun(Ts ... ) { } function in namespace:test_conversion_to_fptr::more_converion_to_ptr_to_function_tests 199 int (*fp)(int, char, double) = [](auto ... a) -> int { vfun(a...); return 4; }; 202 int (*fp2)(int, char, double) = [](auto ... a) { vfun(a...); return 4; }; 775 template<class ... Ts> auto vfun(Ts&& ... ts) { function in namespace:nested_non_capturing_lambda_tests::fptr_with_decltype_return_type 784 vfun([](decltype(As) a) -> decltype(a) { return a; } ...)(first<decltype(As)...>{});
|