You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// if we want the return to be of type "long long", we can use explicit template arguments. Note that here, the result parameter is the first argument, as it must be!
auto res = add<long long>(1, 4);
std::cout << res << ", type: " << typeid(res).name() << std::endl; // Type name of long long: x