From: David Abrahams (dave_at_[hidden])
Date: 2004-12-19 08:58:24
JOAQUIN LOPEZ MU?Z wrote:
>> >> 2.) When should I derive public and when private from
>> > Given what I said, I think that deriving from boost::noncpyable
>> > must be avoided if multiple inheritance is present and you
>> > expct your class to be allocated on the stack.
>> "Must be avoided" is a bit strong. One extra byte usually makes no
>> difference for a class that will be allocated on the stack.
> My fault: I meant "allocated on the heap".
But the same argument applies. One extra byte usually makes no difference.
-- 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