Assertions are available in ANSI C. See man 3 assert. Not a feature of C++. Nice, isn't it?
well.. then let them be used! ;)
How does RTTI affect the performance? AFAIK (I havn't used RTTI too often myself), RTTI makes the binary a little bit larger due to additional information compiled in. Sure, evaluating RTTI data takes cpu cycles, but if you need it, you need it, and every other way to do that takes the same cpu cycles.
i've thought that RTTI would a rather larger overhead (not just evaluating, but also maintaining the RTTI).
okay, i've found the page: http://www.artima.com/intv/const2.html
let tuomov decide to use or not to use C++ (and if he chooses C++ which features to use and which not to use).
Next question: is RTTI better or worse than the equivalent in ion?that question can be answered only by one...
max
Andreas -- Debian? - "This is our project and we can do whatever we want with it." Michael Stone <mstone#debian.org>
