Boost logo

Boost :

Subject: Re: [boost] [type_triats] [move] is_copy_constructible<T> trait
From: John Maddock (john_at_[hidden])
Date: 2013-07-09 03:01:33


> I have an implementation of is_copy_constructible<T> trait. It works great
> with C++11, in C++03 it detects constructors assuming that if type is
> derived from boost::noncopyable or uses BOOST_MOVABLE_BUT_NOT_COPYABLE
> macro - it has no copy constructor.
>
> Questions are:
> * May I add that trait to trunk version of Boost.TypeTraits (with
> documentation and tests, as usual)?

Please do!

Thanks, John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk