CTFE Status

Stefan Koch via Digitalmars-d digitalmars-d at puremagic.com
Sat Dec 31 09:34:00 PST 2016


On Saturday, 31 December 2016 at 17:12:22 UTC, Nordlöw wrote:
> On Saturday, 31 December 2016 at 16:32:42 UTC, Stefan Koch 
> wrote:
>> global immutable integer Arrays are now completely functional!
>
> Great work!
>
>> /*@unique*/ static immutable uint[10] fastPow10tbl = [
>
> BTW: What role does @unique play here?

No role at all. It's a comment.

I have these comments in my tests, to remind myself of certain 
properties.
That, when properly detected, can lead to better generated code.


More information about the Digitalmars-d mailing list