[Bug libstdc++/16021] Tests for container swap specialisations FAIL in debug mode

giovannibajo at libero dot it gcc-bugzilla@gcc.gnu.org
Wed Jun 30 17:32:00 GMT 2004


------- Additional Comments From giovannibajo at libero dot it  2004-06-30 17:29 -------
Wolfgang, the standard explicitally says that the only thing you are allowed to 
define in namespace std are specializations of standard templates. Everything 
else brings you into undefined behaviour, but this very thing is allowed and 
should work also in debug mode.

This is just another bug with strong using, I thikn it's a dup of whatever bug 
is left around about this.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16021



More information about the Gcc-bugs mailing list