trait for (ddoc)-comments

David d at dav1d.de
Mon Aug 20 13:06:27 PDT 2012


Am 19.08.2012 14:26, schrieb 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.

So no official word to it?


More information about the Digitalmars-d mailing list