Reflection in C++

后端 未结 8 1830
失恋的感觉
失恋的感觉 2021-02-05 19:55

I\'ve been working for years with Java. During those years, I\'ve made extensive (or maybe just frequent) use of reflection, and found it useful and enjoyable. But 8 months ago

8条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-05 20:27

    Have a look at my answer to a similar question. Both solutions (XRTTI and OpenC++) proposed are based on external tools that generate the reflection meta-data for you during the build process.

提交回复
热议问题