回复 老兵帅客 的帖子 9 L! A B2 g0 I; g) h) V3 |9 L7 T2 V, X' }( W- w/ d4 N$ i
在wikipedia上搜了一下reflection C++。6 l* Y, E. ~7 W' Y' ~8 ]0 f+ D, u: F7 Y
Qt/C++ # g: Q$ o9 p3 k/ @% q8 I* m ! w, g3 b/ L- VQt 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.