id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 4796,Empty shared_ptr_nmt returns use_count() = 1,B van den Hout ,Peter Dimov,"If you construct an empty shared_ptr, the use_count() method will return 0. This is indicated in the documentation as ""Postconditions: use_count() == 0 && get() == 0."" If I look at the implementation in boost/smart_ptr/detail/shared_ptr_nmt.hpp, the default constructed shared_ptr will create a count_type(1). That means that use_count() will return 1 even if I construct it without any initial value. This is inconsistent IMHO. ",Bugs,closed,To Be Determined,smart_ptr,Boost 1.44.0,Problem,wontfix,,