CTFE Status

Stefan Koch via Digitalmars-d digitalmars-d at puremagic.com
Sat Dec 3 10:16:21 PST 2016


On Saturday, 3 December 2016 at 18:00:10 UTC, Stefan Koch wrote:
> On Saturday, 3 December 2016 at 02:07:06 UTC, Stefan Koch wrote:
>> [...]
>
> switch (...) { case ... , ... } (unreliable due to differences 
> in case-sorting :( )
> for-each on strings and arrays.
if (...) { ... } else { ... } (if(__ctfe) && if(!__ctfe) are 
special cased and non-ctfe code is removed)
assert(..., "...")
> Assigning to array length. (currently without copying on 
> reallocation :( )
> Bounds-Checked :
> Array-Indexing
> Left-Shift Right-Shift. (always unsigned! :( )
>
> [...]

Forgot to add assert, I forget that I implemented it a few days 
ago.



More information about the Digitalmars-d mailing list