[c++0x] shared_ptr get() and use_count() inconsistency

Peter Dimov pdimov@mmltd.net
Thu Jun 5 17:45:00 GMT 2008

Rodolfo Lima:

> The current standard draft says that use_count() should return 0 if the 
> shared_ptr is empty, and get() should return NULL if the shared_ptr is 
> also empty.


More information about the Libstdc++ mailing list