gcc compiler error in copy ctor: "expected primary-expression before > token"
- by glutz78
Here's my code. It compiles in VS2005 but not in gcc. Any ideas
template<class T>
Derived<T>::Derived(const Derived<T>& in)
{
Base<T>::Base<T>(in); //ERROR here
}
"expected primary-expression before token"