Reflection in C++

后端 未结 8 1829
失恋的感觉
失恋的感觉 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:23

    Reflection is the process by which a computer program can observe and modify its own structure and behavior. I don't see how you can do reflection in C++. RTTI is useful only for object's data type in memory at runtime.

提交回复
热议问题