This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: libstdc++ of g++ 3.4.x: std::swap and std::auto_ptr causes compilationerrors
- From: Paolo Carlini <pcarlini at suse dot de>
- To: Vinzenz Feenstra <evilissimo at web dot de>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Mon, 15 Nov 2004 23:52:43 +0100
- Subject: Re: libstdc++ of g++ 3.4.x: std::swap and std::auto_ptr causes compilationerrors
- References: <41992C78.7060608@web.de>
Vinzenz Feenstra wrote:
Hi,
I want to point to something which is imho a Bug.
According to 20.4.5, p3, literally:
"auto_ptr does not meet the CopyConstructible and Assignable
requirements..."
and, according to 25.2.2, p1 (about swap(T& a, T& b)):
"Requires: Type T is CopyConstructible and Assignable"
Therefore, sorry, I disagree,
Paolo.