This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libstdc++ of g++ 3.4.x: std::swap and std::auto_ptr causes compilationerrors


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]