|
Boost : |
From: Dave Abrahams (dave_at_[hidden])
Date: 2003-02-05 13:22:24
On Wednesday, February 05, 2003 1:00 PM [GMT+1=CET],
David B. Held <dheld_at_[hidden]> wrote:
> > [...]
> > Type generators are overkill, since unlike with iterator adaptors
> > there's no need to preserve type identity. Normal inheritance will
> > work just fine.
>
> That's a good point. Do you think public inheritance is ok, or
> should private be used?
If you think about it briefly, you'll see that private inheritance would
defeat the whole purpose ;-)
-- Dave Abrahams Boost Consulting http://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