rttrorg / rttr

C++ Reflection Library
https://www.rttr.org
MIT License
3.12k stars 430 forks source link

can rttr reflect normal C struct ? #276

Open bruceauyeung opened 4 years ago

bruceauyeung commented 4 years ago

what i expected: 1.rttr can reflect normal C struct correctly,

  1. rttr can create an instance of a struct and memory block to hold struct data is continuous and rttr can get the start address of the memory block.
  2. can set/get field value for/from that created instance just like the way for Class. e.g. set_value(), get_value()