gcc compiler error in copy ctor: "expected primary-expression before > token"

Posted by glutz78 on Stack Overflow See other posts from Stack Overflow or by glutz78
Published on 2010-05-20T14:10:56Z Indexed on 2010/05/20 14:20 UTC
Read the original article Hit count: 211

Filed under:
|
|
|

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"

© Stack Overflow or respective owner

Related posts about gcc

Related posts about templates