ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> boost
boost
[boost] Upcoming changes to shared_ptr
by Peter Dimov other posts by this author
Nov 17 2002 8:28PM messages near this date
Re: [boost] Re: Reminder: Serialization Library Review | Re: [boost] Re: Upcoming changes to shared_ptr
* The default constructor and reset() will not throw; default-constructed
shared_ptr (and weak_ptr) instances will have an unspecified use_count().

* shared_*_cast will be renamed to sp_*_cast.

* use_count_is_zero will be renamed to bad_weak_ptr.

* operator< will no longer compare pointer values. Two shared_ptr's will be
equivalent WRT operator< (i.e. !(p < q) && !(q < p)) when they share
ownership.

* boost::counted_base will go back to detail::, and the intrusive option
will be removed. A new class template boost::enable_shared_from_this<>  will
provide shared_from_this() methods to classes that derive from it. [*]

* shared_ptr_test.cpp will now have much better coverage.

--
Peter Dimov
http://www.pdimov.com

[*] I've successfully converted my projects to use the new feature.

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thread:
Peter Dimov
Peter Dimov
Dirk Gerrits
hugo duncan
Peter Dimov
David Abrahams
Peter Dimov
Peter Dimov
Eric Woodruff
Peter Dimov
David Abrahams
Peter Dimov
David Abrahams
Eric Woodruff
David Abrahams

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved