| |
alt.os.development |
Another daft and possibly flameworthy question... :) Has anyone ever attempted writing C++ RTTI support in an OS, if not in Does anyone have any resources to read up on how to achieve this, or
a kernel? I imagine it involves the creation of an "object header" of
sorts in memory, in the implementation of the "new" operator's malloc
routine. Sort of like the object headers in the runtimes for both Java
and CLR.
ideas on how to implement typeid & dynamic_cast? Thanks!