[C++-sig] How about class_<...>.enable_copy() ?

Alex Mohr amohr at pixar.com
Tue Oct 30 01:13:34 CET 2007

> Is there a reason to have a special interface for this?  Suppose we
> just do it unconditionally unless the person wrapping passes
> noncopyable to class_<...> ?

Speaking of which, is there any good reason why boost.python shouldn't 
correspondingly infer noncopyability if class_metadata<...>::wrapped 
derives from boost::noncopyable?


More information about the Cplusplus-sig mailing list