proposal: heredoc comments to allow `+/` in comments, eg from urls or documented unittests
timotheecour
timothee.cour2 at gmail.com
Mon Feb 12 01:43:07 UTC 2018
On Monday, 12 February 2018 at 01:39:31 UTC, Walter Bright wrote:
> Easy:
>
> mixin template comment(string s) { }
>
> mixin comment!q"EOS
> This is a multi-line
> heredoc comment allowing
> /+ documented unittests containing nesting comments +/
> and weird urls like
> https://gcc.gnu.org/onlinedocs/libstdc++/faq.html
> EOS";
>
> It doesn't leave anything in the object file, either.
It doesn't leave anything in Ddoc either, so that's not a viable
workaround if that comment is intended to be a DDoc.
More information about the Digitalmars-d
mailing list