From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-05-03 16:18:16
Stefan Seefeld wrote:
> Emil Dotchevski wrote:
>> I don't need help "fixing" the warnings; these destructors are
>> non-virtual by design.
> How do you prevent then any users deriving from your classes, from
> adding their own destructors ? Their destructors might not be invoked,
> since the base destructor isn't virtual.
The class is an implementation detail of the library, isn't it?
User's should not be deriving from it at all.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk