Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55761 - trunk/boost/ptr_container
From: nesotto_at_[hidden]
Date: 2009-08-24 07:43:33


Author: nesotto
Date: 2009-08-24 07:43:32 EDT (Mon, 24 Aug 2009)
New Revision: 55761
URL: http://svn.boost.org/trac/boost/changeset/55761

Log:
removed new_clone() overload that causes problems in other contexts
Text files modified:
   trunk/boost/ptr_container/clone_allocator.hpp | 11 -----------
   1 files changed, 0 insertions(+), 11 deletions(-)

Modified: trunk/boost/ptr_container/clone_allocator.hpp
==============================================================================
--- trunk/boost/ptr_container/clone_allocator.hpp (original)
+++ trunk/boost/ptr_container/clone_allocator.hpp 2009-08-24 07:43:32 EDT (Mon, 24 Aug 2009)
@@ -37,18 +37,7 @@
         return res;
     }
 
- template< class T >
- inline T* new_clone( const T* r )
- {
- return r ? new_clone( *r ) : 0;
- }
 
- //
- // @remark: to make new_clone() work
- // with scope_ptr/shared_ptr ect.
- // simply overload for those types
- // in the appropriate namespace.
- //
     
     template< class T >
     inline void delete_clone( const T* r )


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk