<a href="http://wiki.services.openoffice.org/wiki/Writer/Code_Conventions#Vetoed_Conventions">http://wiki.services.openoffice.org/wiki/Writer/Code_Conventions#Vetoed_Conventions</a> says that C++ RTTI is preferred over <tools/rtti.hxx>.<br>
In my opinion, the best would be not using casts at all (using e.g. virtual functions instead).<br><br>Uray M. János<br><br><div class="gmail_quote">2012/8/7 Caolán McNamara <span dir="ltr"><<a href="mailto:caolanm@redhat.com" target="_blank">caolanm@redhat.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Tue, 2012-08-07 at 16:00 +0300, Tor Lillqvist wrote:<br>
> Thanks, puxhed.<br>
<br>
Btw, isn't there some issue that dynamic_cast/typeinfo stuff is quite<br>
slow under msvc or some such ?, i.e. no biggy for the "occasional" cast,<br>
but a potential problem for say, mass converting the ISA uses in the sw<br>
layout code.<br>
<span><font color="#888888"><br>
C.<br>
<br>
</font></span></blockquote></div><br>