Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54419 - sandbox/monotonic/libs/monotonic/test/clones
From: christian.schladetsch_at_[hidden]
Date: 2009-06-27 21:09:30


Author: cschladetsch
Date: 2009-06-27 21:09:29 EDT (Sat, 27 Jun 2009)
New Revision: 54419
URL: http://svn.boost.org/trac/boost/changeset/54419

Log:
updated comments

Text files modified:
   sandbox/monotonic/libs/monotonic/test/clones/main.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/monotonic/libs/monotonic/test/clones/main.cpp
==============================================================================
--- sandbox/monotonic/libs/monotonic/test/clones/main.cpp (original)
+++ sandbox/monotonic/libs/monotonic/test/clones/main.cpp 2009-06-27 21:09:29 EDT (Sat, 27 Jun 2009)
@@ -31,7 +31,6 @@
                         typedef Derived derived_type;
 
                         // idea: pass the allocator to a non-virtual clone_with(alloc) method in the base.
- // must be disabled at compile-time for types that are not boost::is_convertible<base<D> *, D*>
                         template <class Alloc>
                         static derived_type *clone_with(Alloc &alloc)
                         {
@@ -68,6 +67,7 @@
 
                         // idea: pass allocator to the clone_allocator.
                         // allocator rebind could be done in the ptr_container.
+ // calling this must be disabled at compile-time for types that are not boost::is_convertible<cloneable::base_base *, U*>
                         template< class U, class Alloc >
                         static U* allocate_clone( const U& r, Alloc &alloc )
                         {


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