Boost logo

Boost :

From: Miki Jovanovic (miki_at_[hidden])
Date: 2000-05-25 10:04:53


:) Well, sorry! A habit I suppose. I seldom use private protection
for anything.

Miki.

--- In boost_at_[hidden], "David Abrahams" <abrahams_at_m...> wrote:
>
> > 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