mirror of
https://github.com/boostorg/smart_ptr.git
synced 2026-05-04 03:50:58 +02:00
Documentation updates.
[SVN r12675]
This commit is contained in:
+1
-1
@@ -118,7 +118,7 @@ If an exception is thrown, <b>delete p</b> is called.</p>
|
||||
<pre>template<typename D> shared_ptr(T * p, D d);</pre>
|
||||
<p>Constructs a <b>shared_ptr</b>, storing a copy of <b>p</b> and of <b>d</b>.
|
||||
Afterwards, the <a href="#use_count">use count</a> is 1.
|
||||
<b>D</b>'s copy constructor must not throw.
|
||||
<b>D</b>'s copy constructor and destructor must not throw.
|
||||
When the the time comes to delete the object pointed to by <b>p</b>, the object
|
||||
<b>d</b> is used in the statement <b>d(p)</b>. Invoking the object <b>d</b> with
|
||||
parameter <b>p</b> in this way must not throw.
|
||||
|
||||
Reference in New Issue
Block a user