Is there a way to query if the -dip1000 flag has been passed to the compiler? I need it for enabling certain DIP-1000 escape analysis tests only when -dip1000 has been passed.

For instance

    static assert(!__traits(compiles, {
                char[] f()
                    char[2] x;
return x[].splitterASCII!(_ => _ == ' ').front;


Or do I have to write a trait myself?

Reply via email to