Vladimir Avdonin schrieb:
template <class T> void ptrfun(A* a) { a->fun<T>(); // tst.cpp:19: error: syntax error before `>' token }
fixed in 3.4. use "a->template fun<T>()" as a workaround.
-- Stefan Strasser
Vladimir Avdonin schrieb:
template <class T> void ptrfun(A* a) { a->fun<T>(); // tst.cpp:19: error: syntax error before `>' token }
fixed in 3.4. use "a->template fun<T>()" as a workaround.
-- Stefan Strasser