answer.code:12:11: error: field ‘operater’ has incomplete type ‘point<T>’
12 | point operater+(const point &a)const {return {x+a.x,y+a.y};}
| ^~~~~~~~
answer.code:6:29: note: definition of ‘struct point<T>’ is not complete until the closing brace
6 | template<typename T> struct point
| ^~~~~
answer.code:12:11: error: expected ‘;’ at end of member declaration
12 | point operater+(const point &a)const {return {x+a.x,y+a.y};}
| ^~~~~~~~
| ;
answer.code:12:19: error: expected unqualified-id before ‘+’ token
12 | point operater+(const point &a)const {return {x+a.x,y+a.y};}
| ^
answer.code:13:11: error: field ‘operater’ has incomplete type ‘point<T>’
13 | point operater-(const point &a)const {return {x-a.x,y-a.y};}
| ^~~~~~~~
answer.code:6:29: note: definition of ‘struct point<T>’ is not complete until the closing brace
6 | template<typename T> struct point
| ^~~~~
answer.code:13:11: error: expected ‘;’ at end of member declaration
13 | point operater-(const point &a)const {return {x-a.x,y-a.y};}
| ^~~~~~~~
| ;
answer.code:13:19: error: expected unqualified-id before ‘-’ token
13 | point operater-(const point &a)const {return {x-a.x,y-a.y};}
| ^
answer.code:14:11: error: field ‘operater’ has incomplete type ‘point<T>’
14 | point operater-()const {return {-x,-y};}
| ^~~~~~~~
answer.code:6:29: note: definition of ‘struct point<T>’ is not complete until the closing brace
6 | template<typename T> struct point
| ^~~~~
answer.code:14:11: error: expected ‘;’ at end of member declaration
14 | point operater-()const {return {-x,-y};}
| ^~~~~~~~
| ;
answer.code:14:19: error: expected unqualified-id before ‘-’ token
14 | point operater-()const {return {-x,-y};}
| ^