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
B c;
do_something();
}
Thanks,
Peter.
Peter Krnjevic
Dynalink Technologies
"Peter Dimov" <[EMAIL PROTECTED]> wrote in message
002801c2d122$5d604a40$1d00a8c0@pdimov2">news:002801c2d122$5d604a40$1d00a8c0@pdimov2...
> dynalink wrote:
> > Forgive me if this seems like
Works great! How thread safe is this?
Thanks,
Peter
"Peter Dimov" <[EMAIL PROTECTED]> wrote in message
001301c2d12c$30c1d210$1d00a8c0@pdimov2">news:001301c2d12c$30c1d210$1d00a8c0@pdimov2...
> dynalink wrote:
> > I need to create a single instance of X a
Thanks again, Peter. That's about what I expected - a mutex around A::create
should do the trick.
Peter Krnjevic
Dynalink Technologies
"Peter Dimov" <[EMAIL PROTECTED]> wrote in message
000d01c2d138$2d29e7d0$1d00a8c0@pdimov2">news:000d01c2d138$2d29e7d0$1d00a8c