https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44313
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> --- And for completeness, the docs have been updated: Starting with GCC 4.3.0, GCC no longer gives an error for this case. This change is based on the intent of the C++ language committee. As of 2010-05-28, the final proposed draft of the C++0x standard permits this code without error. I wonder if we should just remove that whole section, nobody cares about GCC 4.2.x now. I think I proposed a patch years ago to rip that whole section out, but it never happened.