Am 19.08.2012 15:30, schrieb bearophile:
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.
I am sure there are MANY other possible applications for such a trait.
Compile-time doctests maybe are a bit too much (but they are OK for
compile-time functions!), but things like this become possible:
http://pypi.python.org/pypi/docopt/0.1
Bye,
bearophile
Actually, that's why I want that trait :)