#include <boost/utility.hpp>
//#include "intrusive_refcount.mpp"
-///////////////////////////////hh.p////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
namespace senf {
virtual ~intrusive_refcount_base();
- refcount_t refcount(); ///< current refcount
- bool is_shared(); ///< return \c true if refcount() > 1
+ refcount_t refcount() const; ///< current refcount
+ bool is_shared() const; ///< return \c true if refcount() > 1
protected:
intrusive_refcount_base();
/** \brief Customizable reference count mixin for intrusive_ptr
This class provides a simple internally managed refcount and supplies the <a
- href="http://www.boost.org/libs/smart_ptr/intrusive_ptr.html">boost::intrusive_ptr</a>
+ href="http://www.boost.org/doc/libs/release/libs/smart_ptr/intrusive_ptr.html">boost::intrusive_ptr</a>
required interface. To make a class compatible with \c boost::intrusive_ptr, just derive
publicly from intrusive_refcount_t.
/** \brief Reference count mixin for intrusive_ptr
This class provides a simple internally managed refcount and supplies the <a
- href="http://www.boost.org/libs/smart_ptr/intrusive_ptr.html">boost::intrusive_ptr</a>
+ href="http://www.boost.org/doc/libs/release/libs/smart_ptr/intrusive_ptr.html">boost::intrusive_ptr</a>
required interface. To make a class compatible with \c boost::intrusive_ptr, just derive
publicly from intrusive_refcount.
}
-///////////////////////////////hh.e////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
#include "intrusive_refcount.cci"
//#include "intrusive_refcount.ct"
#include "intrusive_refcount.cti"