[Dlang-internal] Detect CTFE in AssignExp:semantic
Andrei Alexandrescu via Dlang-internal
dlang-internal at puremagic.com
Wed Jan 11 10:51:08 PST 2017
On 1/11/17 4:25 PM, Stefan Koch wrote:
> You should not need to special case ctfe inside the compiler for this.
> Rather the template should have if (__ctfe) inside it if those are needed.
> However I would advise against splitting code-paths, if it is not
> _strictly_ necessary.
That's what confuses me, it's the read of the temporary not the code
inside the function. Would branching inside the function help with that?
-- Andrei
More information about the Dlang-internal
mailing list