Re:C++ 11 Approved
by stopmi on Saturday August 13, 2011 @07:44AM
(#2880795)
maybe because reflection/introspection is done via "Objective C's dynamic behaviours and message passing"?
[ Parent
| on HN ]
Actually these are only convenience methods.
For example to get a class name you can either use [object className]. Or you can use object_getClassName()/directly access "anObject->class_pointer->name" without dispatching any messages. The same goes for any other runtime attribute of an object.