diff --git a/shared_ptr.htm b/shared_ptr.htm index e108278..a752629 100644 --- a/shared_ptr.htm +++ b/shared_ptr.htm @@ -373,8 +373,8 @@ q = p;
long use_count() const; // never throws
Returns: the number of shared_ptr objects, *this included, - that share ownership with *this, or an unspecified nonnegative - value when *this is empty.
+ that share ownership with *this, or 0 when *this + is empty.Throws: nothing.
Notes:
@@ -709,8 +709,8 @@ int * p = a.release();use_count()
is not necessarily efficient. Use only for debugging and testing purposes, not for production code.$Date$
Copyright 1999 Greg Colvin and Beman Dawes. Copyright 2002 Darin Adler. - Copyright 2002-2005 Peter Dimov. Distributed under the Boost Software License, Version - 1.0. See accompanying file LICENSE_1_0.txt or - copy at http://www.boost.org/LICENSE_1_0.txt.
+ Copyright 2002-2005 Peter Dimov. Distributed under the Boost Software License, + Version 1.0. See accompanying file LICENSE_1_0.txt + or copy at http://www.boost.org/LICENSE_1_0.txt.