TA的每日心情![](source/plugin/dsu_paulsign/img/emot/yl.gif) | 慵懒 2019-6-5 13:01 |
---|
签到天数: 115 天 [LV.6]出窍
|
回复 老兵帅客 的帖子
! {% u9 o5 m+ l, J) v) t' X, k2 c; C* l( W9 e _# q5 I
在wikipedia上搜了一下reflection C++。" E0 E: N" b1 Q3 ?
Qt/C++* j+ ]+ |! k' d
1 l/ j/ C, B8 F) b2 `
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. 6 ]. V5 }$ |6 x* {" V9 R! }% Q
貌似并不能直接支持,但是可以实现类似效果。# w; u6 H" ]) @, b% B g
c++ reflection
. ?. ^9 Z9 @' Q) B1 g9 ^ |
|