On Thursday, 18 January 2018 at 21:01:01 UTC, Adam D. Ruppe wrote:
Note that we aren't talking about comments. We're talking about ddoc strings. They just have very similar appearance to comments, but they are distinct entities defined by D to be part of the AST (and the compiler will parse their contents too if you ask it to!), unlike regular comments which are discarded before parsing.
I think `__traits(documentation, X)` makes sens if the documentation was generated by library (AST -> HTML)
But as far as I know the documentation can't be generated by CTFE directly.
