template <class T> void foo(T& value) { class boo { public: T val; boo (T value) { val =value; } ~boo(){} };
Standard input is empty
prog.cpp: In function 'void foo(T&)': prog.cpp:12:6: error: expected '}' at end of input }; ^
Standard output is empty