|
Boost : |
From: Reece Dunn (msclrhd_at_[hidden])
Date: 2004-03-28 10:09:43
Pavel Vozenilek 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
Cool!
I have adapted the example to the errorcheck class, so it will report a
clean error message. The code has been tested on borland 5.5 and vc-6, vc-7
and vc-7.1 and should work on other compilers.
If there is interest, where in the boost-sandbox would be best to put it? My
gut feeling is boost/errorcheck.hpp, but if anyone has any better
suggestions...
Regards,
Reece
_________________________________________________________________
Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk