Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tester.cc: In function 'int main(int, char**)':¶
- tester.cc:85: error: no match for 'operator[]' in 'p1ref[i]'¶
- poly.hh:15: note: candidates are: int& Poly::operator[](size_t) <near match>¶
- tester.cc:87: error: no match for 'operator[]' in 'p2ref[i]'¶
- poly.hh:15: note: candidates are: int& Poly::operator[](size_t) <near match>¶
- tester.cc:100: error: no match for 'operator-=' in 'psum -= p2ref'¶
- tester.cc:106: error: no match for 'operator[]' in 'p1ref[i]'¶
- poly.hh:15: note: candidates are: int& Poly::operator[](size_t) <near match>¶
- tester.cc:108: error: no match for 'operator[]' in 'p2ref[i]'¶
- poly.hh:15: note: candidates are: int& Poly::operator[](size_t) <near match>¶
Add Comment
Please, Sign In to add comment