On Friday, 21 August 2015 at 12:41:17 UTC, Steven Schveighoffer wrote:
I have no idea. It probably should be guaranteed, because what is the point of having an "always inlined" function that generates it's own code?

If it is guaranteed, almost makes me want to abuse it for this:

pragma(inline, true)
string foo()
{
    if (!__ctfe)
        assert(false);
    // ...
}

(for compilers other than LDC)

Reply via email to