compile time 'address'

Alex sascha.orlov at gmail.com
Thu Nov 29 22:03:21 UTC 2018


On Thursday, 29 November 2018 at 21:00:57 UTC, Stanislav Blinov 
wrote:
>
> Yeah, but this one seems a bit deliberate. The asserts hold, 
> but you can't e.g.
>
> enum diff = &c0 - &c1; // 'c0' can't be used at compile time

What would you say to this:
https://forum.dlang.org/thread/tdmkajpnqkbywdnzddqc@forum.dlang.org


More information about the Digitalmars-d mailing list