trait for (ddoc)-comments
bearophile
bearophileHUGS at lycos.com
Sun Aug 19 06:03:40 PDT 2012
David:
> I want to get the (ddoc)-comment of a certain
> function/member/struct … so I can generate help-messages at
> compiletime, without the need to duplicate the comments. Like
> pythons function.__doc__ or class.__doc__ etc. is there
> anything planed for D, e.g. __traits(getComment, foo.bar)?
>
> If not what do you think of it, I would love this addition.
+1 Yeah! :-)
Bye,
bearophile
More information about the Digitalmars-d
mailing list