arguments? I only find solutions that don't work for me. Like they have "template<typename ... T> void foo(T ... args) ...." and then they just do either "std::forward<T>(args)" or "{args...}" and it fixes the same error that is thrown by my compiler. But it doesn't fix my problem
Hey michael, please come to my pv i help u until fix your problem
But what is the error in the first place?
This solution for your problem —------—-——————— template <class T> T f(T x){ return x; } void main{ int n=5; cout<<f(n); } I'll hope help you
what std?
Обсуждают сегодня