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

Reply via email to