More Intuitive Syntax for Manifest (enum) Constants

Per Nordlöw per.nordlow at gmail.com
Fri Dec 5 17:42:55 UTC 2025


On Friday, 21 November 2025 at 11:20:08 UTC, Per Nordlöw wrote:
> As D already has the keyword `macro` reserved, it just struck 
> me that I personally think

Alternatively,

```d
alias N = 42;
```

is also possibility.

This is, btw, also how Mojo encodes manifest constants.


More information about the Digitalmars-d mailing list