https://issues.dlang.org/show_bug.cgi?id=18119

Iain Buclaw <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |[email protected]

--- Comment #1 from Iain Buclaw <[email protected]> ---
The suggestion was to make the following condition statements as
specializations.

if (__ctfe) { }
if (!__ctfe) { }

Then, anything in the __ctfe branch that can be evaluated at compile time but
would otherwise cause a GC allocation at runtime would be permissible in @nogc
functions.

--

Reply via email to