Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: auto_ptr not behaving as per header comment




On Aug 9, 2005, at 10:13 PM, Alexey Proskuryakov wrote:
This code looks intuitively correct, so it *should* be OK, in general sense. A closely related issue in the C++ standard is described here: <http://www.open-std.org/jtc1/sc22/wg21/docs/lwg- active.html#463> (may even be exactly the same, I'm not sure). When corrections to the standard introduce such severe regressions, I don't know who is to blame.

This looks like the exact same issue. I guess I'm not the first to encounter it. =)


CodeWarrior compiles this just fine (why am I not surprised?), but still doesn't compile other intuitively correct code (grrrr...):

I haven't used CodeWarrior in years so I can't really comment on it.

- Steve

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden

References: 
 >auto_ptr not behaving as per header comment (From: Steve Checkoway <email@hidden>)
 >Re: auto_ptr not behaving as per header comment (From: "Alexey Proskuryakov" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.