Re: [boost] shared_ptr with 0 use_count

2003-02-10 Thread Peter Dimov
dynalink wrote: > Forgive me if this seems like a really basic question, but how does > one create a shared_ptr with an initial use count of zero? There is no way to create a shared_ptr with use_count of zero. Use_count() returns the number of shared_ptr instances sharing ownership. Use_count() ==

[boost] shared_ptr with 0 use_count

2003-02-10 Thread dynalink
Forgive me if this seems like a really basic question, but how does one create a shared_ptr with an initial use count of zero? Thanks, Peter ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost