C++ Introspection techniques, similar to python -
are there introspection techniques in c++ in python?
for example: want more information specific object without going through header file or referring cpp reference.
am asking proper question, or moving wrong direction here?
update:
based on below answers, answer related question: how can add reflection c++ application?
c++ has built in rtti system, though it's part horribly worthless. result custom introspection used instead.
introspection in c++ implemented 2 main methods: preprocesing step scan cpp files , create database/generate cpp code; use templating. wrote articles on templating technique here.
if you're more interested in using introspection rather implementing it, suggest looking clreflect, or can try cpfg.
Comments
Post a Comment