Determine if a member is a method
Dicebot
public at dicebot.lv
Wed Jan 1 07:10:55 PST 2014
> On 2014-01-01 08:43, Frustrated wrote:
>
>> Also, how does one get the exact code string of a member
>> instead of
>> having to piece it together from info from std.traits? (which
>> requires a
>> lot of work)?
Have a look at
https://github.com/rejectedsoftware/vibe.d/blob/master/source/vibe/internal/meta/codegen.d#L177
(cloneFunction) for inspiration (it is based on
fullyQualifiedName from Phobos)
More information about the Digitalmars-d-learn
mailing list