foo.cc: In member function 'void seqlist::removenegative(int)':
foo.cc:17:13: warning: statement has no effect [-Wunused-value]
17 | for(it;it!=list.end();it++)
| ^~
foo.cc: In member function 'void seqlist::searchremove(int)':
foo.cc:31:13: warning: statement has no effect [-Wunused-value]
31 | for(it;it!=list.end();it++)
| ^~
foo.cc:29:13: warning: unused variable 'move' [-Wunused-variable]
29 | int move=0;
| ^~~~
foo.cc: In member function 'void seqlist::output()':
foo.cc:40:13: warning: statement has no effect [-Wunused-value]
40 | for(it;it!=list.end();it++)
| ^~