Documentation updates.

[SVN r12675]
This commit is contained in:
Darin Adler
2002-02-03 17:46:08 +00:00
parent 590757e2b2
commit 758954a93f
3 changed files with 2 additions and 13 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ If an exception is thrown, <b>delete p</b> is called.</p>
<pre>template&lt;typename D&gt; 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.