Today a colleague of mine came and asked me the question as mentioned in the title.
He\'s currently trying to reduce the binaries footprint of a codebase, that is also u
Isolating this bit:
The answer is yes:
-fno-rttiDisable generation of information about every class with virtual functions for use by the C++ runtime type identification features (
dynamic_castandtypeid). If you don't use those parts of the language, you can save some space by using this flag. Note that exception handling uses the same information, but it will generate it as needed. Thedynamic_castoperator can still be used for casts that do not require runtime type information, i.e. casts tovoid *or to unambiguous base classes.