Search

June 12, 2020
General »
...body availability - the function is eligible for CTFE. I think any adjustment to the extant...
June 09, 2020
General »
I wonder if you could CTFE it?

https://github.com/dlang/druntime/blob/2fa694319da397d72ab09cb336f3d588107278c1/src...
June 08, 2020
General »
...is done by _d_newclass.
Yet another runtime function which CTFE has to re-implement.

June 08, 2020
Learn »
...funcs that allowed to be called during CTFE? e.g. math funcs about numbers, but...
June 08, 2020
Learn »
...5");

That constructor call is done via CTFE. The constructor calls std.math.lround. lround...
June 08, 2020
Learn »
...that C func.

This is dramatically enhance CTFE's eval ability, esp for math funcs.
June 08, 2020
Learn »
...like it does some CTFE, but

1) I cannot find where CTFE happens in:

https...
June 06, 2020
General »
...remove the CTFE from it

---
string unifyDirSep(string str, string sep)
{
    version(ctfe)
    {
    static Regex...
June 06, 2020
General »
...ctfe/ctfe_bc.d and comment out "debug = ctfe;"
Also go into src/dmd/ctfe...
June 06, 2020
Learn »
...use as a mixin. So basically using CTFE to create code at compile time. (any...
Next ›   Last »