Battle-plan for CTFE

Rory McGuire via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sun Sep 25 11:21:27 PDT 2016


On Sun, Sep 25, 2016 at 4:47 PM, Stefan Koch via Digitalmars-d-announce <
digitalmars-d-announce at puremagic.com> wrote:

> On Tuesday, 20 September 2016 at 05:06:57 UTC, Nordlöw wrote:
>
>> On Monday, 19 September 2016 at 10:07:06 UTC, Stefan Koch wrote:
>>
>>> Compiling all of phobos does not crash my engine anymore!
>>>
>>
>> Great work! Keep up still!
>>
>
> I am proud to announce,
> (and slightly embarssed because it took to long)
>
> that the following code can now be executed using the new CTFE engine :
>
> string fn(bool b)
> {
>     return b ? "true" : "false";
> }
> static assert(fn(true) == "true");
> static assert(fn(false) == "false");
>
> although this seems trivial it took me about 3 months to get to this point.
> I believe from here on the road will be less steep.
>
>

:D congrats!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-announce/attachments/20160925/20fb9908/attachment.html>


More information about the Digitalmars-d-announce mailing list