expected initializer before â<â token

WHY THE COMPILE GIVE SUCH ERROR
error: expected initializer before â<â token

this in in the implementation file .cpp
inline void TwoDi<T>::Cpy(const TwoD<T>& o1, const TwoD<T>& o2 )//error: here
{

x = o1.x;

y = o2.y;
// is not all the code but the remain it just use x and y to perform a for loop that is correct
}
-------------------
in the header file I have in the private section
private:
inline void Cpy(const TwoD<T>& o1, const TwoD<T>& o2 );

You have an extra 'i': TwoDi
is not that, was error posting I have right in my code, can you tell why the compiler ask for initializer
Topic archived. No new replies allowed.