not compiled, cause of list.erase().commented declarations in private, because compiler yelled on in.