0_0_36947226_16873.cpp: In member function 'int Poly::operator[](int) const':
0_0_36947226_16873.cpp:82:30: error: passing 'const Poly' as 'this' argument of 'int Poly::size()' discards qualifiers [-fpermissive]
if (idx < 0 || idx >= size())
^
0_0_36947226_16873.cpp:84:18: error: 'x' was not declared in this scope
return (int)(a[x].x);
^
|