Boost logo

Boost :

From: Dave Harris (brangdon_at_[hidden])
Date: 2004-09-02 16:05:27


In-Reply-To: <20DCDD8F0FCED411AC4D001083CF504501AA9741_at_MTL-EXCHANGE>
sseefeld_at_[hidden] (Stefan Seefeld) wrote (abridged):
> Out of curiosity: why would anybody not use RTTI ? Why shouldn't
> compilers without RTTI just considered broken ?

It's generally more expensive than hand-rolled solutions, at least ones
that don't have to cope with multiple virtual inheritance. (And I've yet
to find a problem for which multiple virtual inheritance seemed like the
best solution in C++.)

In particular, VC++ ships with MFC, which has its own hand-rolled
solution. If you use that, you may not want the overhead of RTTI.

-- Dave Harris, Nottingham, UK


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