What is the shortest way to define an immutable token of unique type?

Per Nordlöw per.nordlow at gmail.com
Mon Mar 15 09:47:07 UTC 2021


On Monday, 15 March 2021 at 09:45:44 UTC, Per Nordlöw wrote:
> and if possible have it be lowered to a builtin tuple
>
>     immutable (int, int) hex;

Forget about the tuple lowering. It doesn't have the fields 
accessible by name.


More information about the Digitalmars-d mailing list