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: "redi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jun 2004 14:39:27 -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 redi at gcc dot gnu dot org 2004-06-30 14:39 -------
Wolfgang, isn't this a specialisation of std::vector<T>::swap() (where T is a
user-defined type, not a template parameter) and therefore legal?
If it's illegal then there are lots of libstdc++ testsuite files that need fixing,
since my code was adapted from the testsuite and the code works fine in non-debug
mode.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16021