Determine if a member is a method

Jacob Carlborg doob at me.com
Wed Jan 1 04:19:29 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)?

You mean the to get the full signature of a method? I don't think that's 
possible, unless you can use __PRETTY_FUNCTION__ [1] somehow.

[1] http://dlang.org/traits.html#specialkeywords

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list