DeRailed DSL (was Re: compile-time regex redux)

Frits van Bommel fvbommel at REMwOVExCAPSs.nl
Mon Feb 12 07:38:55 PST 2007


Lionello Lunesu wrote:
> Kirk McDonald wrote:
>> Walter Bright wrote:
>>> Kirk McDonald wrote:
>>>> Given a class, I need a way to get a list of all of its member 
>>>> functions at compile-time.
>>>
>>> static member functions? non-virtual member functions?
>>
[snip]
> 
> I think you should be able to use .mangleof to get that info, no?

At the moment, .mangleof can tell static from virtual or final (because 
of the 'M' indicating a 'this' pointer is passed to the latter two), but 
virtual and final member functions are mangled identically.



More information about the Digitalmars-d mailing list