Boost logo

Boost :

From: David Abrahams (abrahams_at_[hidden])
Date: 2000-05-25 09:14:38


> BTW, in response to other messages, this would probably solve the
> copy constructor problem:
>
> class noninstantiable : protected noncopyable {
> private:
> noninstantiable(){}
> }; // noninstantiable
>

:) :) :)

re-use is good!

but why protected inheritance? private works fine, and is terser.


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