Calling method by name.

Stanislav Blinov blinov at loniir.ru
Thu Feb 3 05:06:18 PST 2011


03.02.2011 12:54, Jacob Carlborg пишет:
> On 2011-02-02 22:51, Stanislav Blinov wrote:
>>
>> AFAIK, D2's TypeInfo and friends do have an interface for runtime
>> reflection (methods offTi() and getMembers()), though a quick glance
>> shows they're not implemented, i.e. return null all the time.
>
> I think the const is incorrect as well on getMembers.
>
Actually, it's that those TypeInfo, MemberInfo et al. are not 
const-correct, as is the case for Object and other Object-related classes.


More information about the Digitalmars-d mailing list