New Traits

Philippe Sigaud philippe.sigaud at gmail.com
Tue May 15 10:18:48 PDT 2012


On Tue, May 15, 2012 at 1:13 AM, John Maschmeyer <jmaschme at gmail.com> wrote:
> I implemented some new traits that seemed to have a lot of
> interest recently.

> I've implemented parameterNames, isPublic, isPrivate,
> isProtected, isPackge, isExport, and codeof traits.

> codeof was discussed recently in
> http://forum.dlang.org/thread/huyqfcoosgzfneswnrur@forum.dlang.org.
>   It gives you access to the source code of functions, classes,
> etc.

Awesome!

Can you give us a simple example of what codeof produces? How does it
deal with functions overloads?


More information about the Digitalmars-d mailing list