Does C++ RTTI work always on all platforms? -


i vaguely remember i've heard saying, run-time type identification might not work in special cases. therefore ask: c++ rtti work on platforms default settings, or there case might not implemented or need explicitely enable command line argument?

especially small embedded system rtti not available. example 8 bit avr target.

the reason quite simple: rtti needs more memory information itself. small embedded systems typically off default or not implemented target avr-gcc.

normally in c++ guaranteed pay not things not use. rtti 1 example need more memory if don't use until switch off modules not need rtti.


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -