class myclass {
// Definitions of cotrs and dtor...
// ...
// Defining a method of mine that needs a template
template < typename T >
void dosome(T& par);
}
What to do in implementation in cpp file? I thought ti was good this:
template <typename T>
void myclass::dosome< T >(T& par) {
// My code
}
But compiler gets really mad... What's the syntax in this context? Thankyou