Qt/C++8 W, k8 n2 Z3 h/ f+ K
+ w' i E% Z! m0 q: R
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.
3 b+ b! @' L4 i" I% q Z) N# a6 h7 L& _
貌似并不能直接支持,但是可以实现类似效果。1 S; L& N- ~8 w/ S- e l+ c2 z c++ reflection4 J4 U4 Q: l h5 v' x* {. `