This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/16021] Tests for container swap specialisations FAIL in debug mode
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jun 2004 17:29:12 -0000
- Subject: [Bug libstdc++/16021] Tests for container swap specialisations FAIL in debug mode
- References: <20040616121506.16021.redi@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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