|
Boost : |
From: jeremy_at_[hidden]
Date: 2001-09-18 10:45:07
> --- In boost_at_y..., Daniel Frey <daniel.frey_at_a...> wrote:
> Why would anybody want to do something like this? If a class is
> noncopyable, eg. because it derives from 'boost::noncopyable',
> all derived classes are automatically noncopyable unless, of course,
Well I was thinking that sometime in the future I might change B so
that it no longer inherits A. I didn't think I should have to
remember that B got its noncopyable-ness from A.
For now under MSVC I am using a noncopyable2 which does indeed simply
inherit noncopyable.
Regards,
Jeremy
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk