Answers for "template member functions in cpp files"

C++
0

template member functions in cpp files

template <class T>
void foo<T>::bar(const T &t)
{ }

// Explicit template instantiation
template class foo<int>;
Posted by: Guest on October-19-2020

Browse Popular Code Answers by Language