Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-09-30 09:13:17


"Thorsten Ottosen" <nesotto_at_[hidden]> writes:

> Hi,
>
> The type traits already have a has_nothrow_copy_constructor, but I actually
> need just to know
> if there is one at all. Wasn't it an idea to add this? How portable can it
> be implementated?

All types have a copy_ctor. It's just a question of whether it's
private or not, and I'm not sure that's detectable without causing an
error.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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