回复 老兵帅客 的帖子. t+ P& [4 N! H% B. ?# W: ^' Y. K8 O5 R
- ~; R6 g2 G& } h) b. P( W2 \
在wikipedia上搜了一下reflection C++。# ^2 @: G& {0 y, k. L! S
Qt/C++ 7 D4 S* b0 B7 m) y' i' z5 {' k7 T' g* h( W) _
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.