December 08, 2021 Learn » Re: Any workaround for "closures are not yet supported in CTFE"? | |||
|---|---|---|---|
| |||
Nice, so the error message is lying. This is a bit more complete: ```d import... | |||
December 08, 2021 Learn » Re: Any workaround for "closures are not yet supported in CTFE"? | |||
|---|---|---|---|
| |||
On Wednesday, 8 December 2021 at 08:07:59 UTC, Petar Kirov [ZombineDev] wrote: At... | |||
December 08, 2021 Learn » Re: Any workaround for "closures are not yet supported in CTFE"? | |||
|---|---|---|---|
| |||
Incidentally, yesterday I played with a very similar solution. Here's my version: https://run... | |||
December 08, 2021 Learn » Re: Any workaround for "closures are not yet supported in CTFE"? | |||
|---|---|---|---|
| |||
This seems to work, maybe it is closer to what you are looking for. ```d... | |||
December 08, 2021 Learn » Re: Any workaround for "closures are not yet supported in CTFE"? | |||
|---|---|---|---|
| |||
The problem with struct-based solution is that I will likely be stuck with only... | |||
December 07, 2021 Learn » Re: Any workaround for "closures are not yet supported in CTFE"? | |||
|---|---|---|---|
| |||
...Error: closures are not yet > supported in CTFE > } I don't know whether the workaround... | |||
December 07, 2021 Learn » Any workaround for "closures are not yet supported in CTFE"? | |||
|---|---|---|---|
| |||
...Error: closures are not yet supported in CTFE`" if I create an compile-time constant... | |||
December 04, 2021 General » Re: How does Circle's CTFE compare to D? | |||
|---|---|---|---|
| |||
These are constraints that allows you to catch bugs and inefficiencies at compile time. Circle... | |||
December 04, 2021 General » Re: How does Circle's CTFE compare to D? | |||
|---|---|---|---|
| |||
Depends on what you want to do. If the compilation of one source-file creates... | |||
December 04, 2021 General » Re: How does Circle's CTFE compare to D? | |||
|---|---|---|---|
| |||
You are reading more than what it is there. I think Circle is the right... | |||
Copyright © 1999-2021 by the D Language Foundation