A missing Returns clause added.

[SVN r16321]
This commit is contained in:
Peter Dimov
2002-11-19 16:10:07 +00:00
parent 8752c00ebf
commit 7504eff5af

View File

@ -322,6 +322,7 @@ template<class Y> shared_ptr & operator=(shared_ptr<Y> const &am
template&lt;class Y&gt; shared_ptr &amp; operator=(std::auto_ptr&lt;Y&gt; &amp; r);</pre>
<BLOCKQUOTE>
<P><B>Effects:</B> Equivalent to <code>shared_ptr(r).swap(*this)</code>.</P>
<P><B>Returns:</B> <code>*this</code>.</P>
<P><B>Notes:</B> The use count updates caused by the temporary object construction
and destruction are not considered observable side effects, and the
implementation is free to meet the effects (and the implied guarantees) via