On 2/8/2018 7:06 PM, Timothee Cour wrote:
/"EOC
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"/

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.

Reply via email to