id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 1590,shared_ptr documentation inconsistency,Frank Mori Hess,Peter Dimov,"The default shared_ptr constructor, which creates an empty shared_ptr, gives ""use_count() == 0"" as a post condition. However, the documentation for use_count says it returns ""an unspecified nonnegative value when *this is empty"". I'd like it to return 0 for an empty shared_ptr, as that appears to be the only way to distinguish an empty shared_ptr from one sharing ownership of a null pointer. ",Bugs,closed,Boost 1.36.0,smart_ptr,Boost Development Trunk,Problem,fixed,,