Compile-time reflection

Jarrett Billingsley kb3ctd2 at yahoo.com
Sun Jul 8 07:02:26 PDT 2007


"Bruno Medeiros" <brunodomedeiros+spam at com.gmail> wrote in message 
news:f6qiqg$1bsg$1 at digitalmars.com...
>
> Why would we need to distinguish between virtual, static and final member 
> functions?
>

At least from a scripting-language-binding-library point of view, it's 
useful to know that so that when you write:

Def!(A.foo);
Def!(A.bar);
Def!(A.baz);

If foo is static, bar is virtual, and baz is final, they might all have to 
be bound in different ways. 





More information about the Digitalmars-d mailing list