Qt/C++ $ C" Y3 T- ?8 ]5 j* q" w2 M: M1 F9 | G" {3 ^9 ?7 W( Q* x
Qt framework extends C++ with its meta-language and provides reflection ability of member/method reference and query by name for Qt objects with QMetaObject class, which contains meta-information about the Qt objects.
Objective-C is a reflective, object-oriented programming language that adds Smalltalk-style messaging to the C programming language.
8 u& k3 S% |; [: L0 G* q貌似并不能直接支持,但是可以实现类似效果。1 W% s& a& h6 e" l' P5 Y c++ reflection1 d1 B7 s: m4 V