From f596092bac04939f1f4a3d50a1d71474dc0bbff8 Mon Sep 17 00:00:00 2001
From: Peter Dimov Returns: the number of shared_ptr objects, *this included,
- that share ownership with *this, or an unspecified nonnegative
- value when *this is empty.long use_count() const; // never throws
Throws: nothing.
Notes: 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.