http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59603
--- Comment #4 from Jörg Richter <joerg.rich...@pdv-fs.de> --- Are you sure that this is not a iter_swap problem? I have found nothing in the standard that iter_swap( x, x ) is undefined. I always thought types do not have to be prepared to handle self move assignment.