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
Re: [boost] Re: Upcoming changes to shared_ptr
by David Abrahams other posts by this author
Nov 18 2002 1:07PM messages near this date
Re: [boost] Boost License Issues | RE: [boost] MPL lambda
"Peter Dimov" <pdimov@[...].net>  writes:

>  From: "David Abrahams" <dave@[...].com>
> > >
> > > This doesn't look too good if you consider the possible boost->std
> > > transition. :-)
> >
> > But "sp" does? <wink>
> >
> >    How about dynamic_pointer_cast<T>(x)?
> 
>  Fine with me. You are the LWG guy around here. Whatever you say. ;-)

   http://www.weebl.pwp.blueyonder.co.uk/crab.swf

> > Of course, we can make it work for regular pointers, too.
> 
>  That was kind of implied, yes

If 's' stands for "smart" it's also kind of ruled-out by your name.

>  although I was more interested in extending
>  the same syntax to intrusive_ptr and other (Loki-style, for instance) smart
>  pointers.

Okay, then: 

   Please consider dynamic_ptr_cast also. Normally I hate abbrevs, but
   all of our smart pointers have "ptr" in the name to it has a
   certain resonance.

-- 
                       David Abrahams
   dave@[...].com * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

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