[boost] Re: shared_ptr and null pointer values.

2003-02-21 Thread Fernando Cacciola
"Peter Dimov" <[EMAIL PROTECTED]> wrote in message 006901c2d9c2$1db8fa60$1d00a8c0@pdimov2">news:006901c2d9c2$1db8fa60$1d00a8c0@pdimov2... > Fernando Cacciola (Home) wrote: > [...] > > One is initialization from a null pointer value, as in: > > > > struct C > > { > > C() : ptr(0) {} > > > > sha

[boost] Re: shared_ptr and null pointer values.

2003-02-20 Thread Fernando Cacciola
"David Abrahams" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > "Fernando Cacciola \(Home\)" <[EMAIL PROTECTED]> writes: > > > Hi! > > > > I'm under the process of getting rid of some of my old > > smart pointers replacing them by shared_ptr<>. > > There is how