CTFE bug causes null check to pass on null pointers (Issue 7602)
David Nadlinger
see at klickverbot.at
Wed Mar 21 02:55:05 PDT 2012
On Wednesday, 21 March 2012 at 09:51:43 UTC, Jens Mueller wrote:
> Interesting. How do I make use of this?
>
> […]
>
> What's the trick to use memory allocated in a CTFE. Say e.g. I
> want to
> build a tree at compile time using CTFE.
You can't do that right now (i.e. converting CTFE-allocated
memory to initializers for run-time values), but it enables you
to use classes, etc. _during_ CTFE.
David
More information about the Digitalmars-d
mailing list