August 12, 2021 General » A idea to improve diet-ng compile speed! | |||
|---|---|---|---|
| |||
...developer don't limit to use CTFE code. D CTFE is great, but not suit... | |||
August 11, 2021 General » Re: Using core.reflect to rewrite code | |||
|---|---|---|---|
| |||
...tree of an expression created by CTFE and removing "ctfe-only-features" from it thereby... | |||
August 09, 2021 Learn » Re: writef, compile-checked format, pointer | |||
|---|---|---|---|
| |||
...pretty bad tbh, it just tries to ctfe execute the given string and sees if... | |||
August 06, 2021 Issues » [Issue 22186] [REG2.096] CTFE pure cast of function no longer allowed | |||
|---|---|---|---|
| |||
...cgi?id=22186
johanengelen@weka.io changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |CTFE, industry,
| |rejects-valid
-- | |||
August 06, 2021 Issues » [Issue 22186] New: [REG2.096] CTFE pure cast of function no longer allowed | |||
|---|---|---|---|
| |||
...22186
Issue ID: 22186
Summary: [REG2.096] CTFE pure cast of function no longer
allowed... | |||
August 05, 2021 Learn » Re: best/proper way to declare constants ? | |||
|---|---|---|---|
| |||
...compile-time. You can define them in CTFE and pass them around as template arguments... | |||
August 05, 2021 Learn » Re: best/proper way to declare constants ? | |||
|---|---|---|---|
| |||
...time. No need for the enum.
`if(__ctfe) {`
H.S. Teoh, I know you know... | |||
August 04, 2021 Learn » Re: best/proper way to declare constants ? | |||
|---|---|---|---|
| |||
...ctValue.
static immutable string[] rtValue = ctValue;
if (ctfe) {
// Compile-time: use ctValue
foreach (value; ctValue... | |||
August 04, 2021 Learn » Re: __FILE__ | |||
|---|---|---|---|
| |||
...usual). But this has nothing to do with CTFE as far as I know. -Steve | |||
August 02, 2021 Learn » Re: cast to pure function stop work after upgrade | |||
|---|---|---|---|
| |||
...safe{
return x;
}
/*
This is valid.
@safe CTFE cast, systemFoo has less restrictive function type... | |||
Copyright © 1999-2021 by the D Language Foundation