http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58153
--- Comment #6 from Kenton Varda <temporal at gmail dot com> --- Yep, I realize that erase_after would need to be added to the standard. I was just speculating that it may be something the standard committee should consider. I've long since solved my problem by changing my approach, so this bug is just meant to raise awareness. Feel free to ignore it if you don't think there's anything to be done.