From 7504eff5af15240d12f67258464e6457f47a70db Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 19 Nov 2002 16:10:07 +0000 Subject: [PATCH] A missing Returns clause added. [SVN r16321] --- shared_ptr.htm | 1 + 1 file changed, 1 insertion(+) diff --git a/shared_ptr.htm b/shared_ptr.htm index f1ca5b2..af055d3 100644 --- a/shared_ptr.htm +++ b/shared_ptr.htm @@ -322,6 +322,7 @@ template<class Y> shared_ptr & operator=(shared_ptr<Y> const &am template<class Y> shared_ptr & operator=(std::auto_ptr<Y> & r);

Effects: Equivalent to shared_ptr(r).swap(*this).

+

Returns: *this.

Notes: 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