Boost logo

Boost Users :

Subject: Re: [Boost-users] [smart_ptr]intrusive_ptr suggestion
From: gast128 (gast128_at_[hidden])
Date: 2010-08-11 17:35:24

> Perhaps you should initialize the reference count to zero in the
> constructor of IFoo, instead of initializing it to 1.
> In Christ,
> Steven Watanabe

Yes but I think it is more natural that the ref count starts at 1 for a ref
counted object. Thats at least the COM protocol

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at