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

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -