jeudi 10 juin 2021

Possibility of reflecting on a class and identifying static members [closed]

Thanks for reading my question. I know Java allows reflection on classes and finding methods and attributes at runtime. I was wondering whether c++11 has similar capability even via a library.

My use case is to identify static members of a class at runtime.

EDIT: I'm just reaching in the dark, but wont I be able to get some support from standard libs like type_traits?

Aucun commentaire:

Enregistrer un commentaire