Guest User

Untitled

a guest
Dec 11th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. tester.cc: In function 'int main(int, char**)':¶
  2. tester.cc:85: error: no match for 'operator[]' in 'p1ref[i]'¶
  3. poly.hh:15: note: candidates are: int& Poly::operator[](size_t) <near match>¶
  4. tester.cc:87: error: no match for 'operator[]' in 'p2ref[i]'¶
  5. poly.hh:15: note: candidates are: int& Poly::operator[](size_t) <near match>¶
  6. tester.cc:100: error: no match for 'operator-=' in 'psum -= p2ref'¶
  7. tester.cc:106: error: no match for 'operator[]' in 'p1ref[i]'¶
  8. poly.hh:15: note: candidates are: int& Poly::operator[](size_t) <near match>¶
  9. tester.cc:108: error: no match for 'operator[]' in 'p2ref[i]'¶
  10. poly.hh:15: note: candidates are: int& Poly::operator[](size_t) <near match>¶
Add Comment
Please, Sign In to add comment