Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2006-07-25 11:03:20


"Chris Weed" <chrisweed_at_[hidden]> writes:

> Hi,
> I think it would be nice to have a "nonconstructible" class to derive
> from similar to noncopyable.
>
> Recently I was burned by a traits class that was getting constructed.
> I think this should also be used for template metafunctions.

I disagree, and strongly. Sometimes it's very useful to pass
instances of these things around and I can't see any reason to
prohibit it.

-- 
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