From ae0a48d544387b5523e27ad1febadce9a4db19e2 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Mon, 6 Mar 2006 23:06:10 +0000 Subject: [PATCH] Removed erroneous // never throws annotations (reported by Scott Meyers) [SVN r33241] --- intrusive_ptr.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/intrusive_ptr.html b/intrusive_ptr.html index 5d8aa48..b07be5c 100644 --- a/intrusive_ptr.html +++ b/intrusive_ptr.html @@ -127,8 +127,8 @@

Effects: if(p != 0 && add_ref) intrusive_ptr_add_ref(p);.

Postconditions: get() == p.

-
intrusive_ptr(intrusive_ptr const & r); // never throws
-template<class Y> intrusive_ptr(intrusive_ptr<Y> const & r); // never throws
+
intrusive_ptr(intrusive_ptr const & r);
+template<class Y> intrusive_ptr(intrusive_ptr<Y> const & r);

Effects: if(r.get() != 0) intrusive_ptr_add_ref(r.get());.

Postconditions: get() == r.get().

@@ -139,8 +139,8 @@ template<class Y> intrusive_ptr(intrusive_ptr<Y> const & r); //

Effects: if(get() != 0) intrusive_ptr_release(get());.

assignment

-
intrusive_ptr & operator=(intrusive_ptr const & r); // never throws
-template<class Y> intrusive_ptr & operator=(intrusive_ptr<Y> const & r); // never throws
+		
intrusive_ptr & operator=(intrusive_ptr const & r);
+template<class Y> intrusive_ptr & operator=(intrusive_ptr<Y> const & r);
 intrusive_ptr & operator=(T * r);

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