/in/foo.cc: In member function 'void PolyList::insert(int, int)':
/in/foo.cc:24:23: error: 'class std::vector<PolyListNode>' has no member named 'emplaceback'; did you mean 'emplace_back'?
24 | terms.emplaceback(coef,exp);
| ^~~~~~~~~~~
| emplace_back
/in/foo.cc: In member function 'void PolyList::simplify()':
/in/foo.cc:29:48: error: 'term' was not declared in this scope; did you mean 'terms'?
29 | if(i==0||terms[i].exp!=term[i-1].exp){
| ^~~~
| terms
/in/foo.cc:30:42: error: 'class std::vector<PolyListNode>' has no member named 'pushback'; did you mean 'push_back'?
30 | newTerms.pushback(term[i]);
| ^~~~~~~~
| push_back
/in/foo.cc:36:37: error: 'newTerm' was not declared in this scope; did you mean 'newTerms'?
36 | for(const auto&term:newTerm){
| ^~~~~~~
| newTerms
/in/foo.cc:38:39: error: 'class std::vector<PolyListNode>' has no member named 'pushback'; did you mean 'push_back'?
38 | terms.pushback(term);
| ^~~~~~~~
| push_back