template member functions in cpp files code example
Example: template member functions in cpp files
template
void foo::bar(const T &t)
{ }
// Explicit template instantiation
template class foo;
template
void foo::bar(const T &t)
{ }
// Explicit template instantiation
template class foo;