[up]
std::list erasing in the loop