Changed intrusive_ref_counter to follow CRTP design.

[SVN r85547]
This commit is contained in:
Andrey Semashev committed 2013-09-01 21:05:14 +00:00
1 parent a7d96b4762
commit 7b9354fcf3
4 files changed
+88 -76

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@
and <STRONG>intrusive_ptr_release</STRONG> should be defined in the namespace
that corresponds to their parameter; otherwise, the definitions need to go in
namespace <STRONG>boost</STRONG>. The library provides a helper base class template
<STRONG><a href="intrusive_ref_counter.html">basic_intrusive_ref_counter</a></STRONG> which may
<STRONG><a href="intrusive_ref_counter.html">intrusive_ref_counter</a></STRONG> which may
help adding support for <STRONG>intrusive_ptr</STRONG> to user&apos;s types.</p>
<p>The class template is parameterized on <b>T</b>, the type of the object pointed
to. <STRONG>intrusive_ptr&lt;T&gt;</STRONG> can be implicitly converted to <STRONG>intrusive_ptr&lt;U&gt;</STRONG>