|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2004-11-17 19:03:03
Frank Laub <fried_at_[hidden]> writes:
> I've looked at your approach and it looks promising, but I'm not sure
> it will aleviate this problem. Is there something special about
> inheritance that makes the compiler happier in that it doesn't eat up
> its memory as fast?
No, in fact, deep inheritance actually makes current EDG compilers'
compile times explode (as you'll see in the performance appendix to
http://www.boost-consulting.com/metaprogramming-book.html). EDG has
fixed that problem, but it won't help any real users for some time to
come.
> I'm starting to think that C++ was never really
> meant to do this kind of thing
Well, that much is old news!!
> and therefore is a lost cause?
Don't give up so soon ;-)
-- 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