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.

Reply via email to