Hi,

just for completeness:
missing return in clone_ptr::release();

I also suggest that operator->() should use assert() instead of if statement, just like auto_ptr - zero cost pointer wrapper.

--
PN


--- ../original/utilspp/clone_ptr.hpp   2008-02-07 02:28:00.000000000 +0100
+++ utilspp/clone_ptr.hpp       2008-02-10 20:45:25.000000000 +0100
@@ -84,6 +84,7 @@
     { 
       T * r = value_; 
       value_ = NULL;
+      return r;
     }
 
   private:
_______________________________________________
cURLpp mailing list
[email protected]
http://www.rrette.com/mailman/listinfo/curlpp

Reply via email to