Boost logo

Boost :

From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2004-03-28 10:24:53


On Sun, 28 Mar 2004 12:55:10 +0200, "Pavel Vozenilek"
<pavel_vozenilek_at_[hidden]> wrote:

>
>"Reece Dunn" <msclrhd_at_[hidden]> wrote
>
>> So is it possible to prevent derivation? If not, then at least make it
>> harder to do so (and put a warning in the docs)?
>>
>Yes.
>
>Legal way:
>http://www.research.att.com/~bs/bs_faq2.html#no-derivation

And where is derivation prevented? ;) That only gives an error when
you try instantiating the derived class. (Not only you may still
derive, but of course you can access and use any static members).

Genny.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk