Boost logo

Boost :

From: Zhang, Gary (Gary.Zhang_at_[hidden])
Date: 2001-11-01 19:00:26


Can somebody tell me why the reference count is incremented
when shared_ptr is initialized by a null ( 0 ) pointer ?

Isn't it more logical for ref_count to remain 0 since
NULL pointer has no sharing value ?

Gary


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk