Did you know; we need this operator!
max haughton
maxhaton at gmail.com
Thu Sep 19 09:43:35 UTC 2024
On Saturday, 14 September 2024 at 01:01:06 UTC, Paul Backus wrote:
> On Friday, 13 September 2024 at 18:49:06 UTC, Salih Dincer
> wrote:
>> [...]
>
> This could also be solved by allowing `with()` to be used as an
> expression, not just a statement:
>
> ```d
> void main()
> {
> auto days = with (Days) [
> "Pazar" : Sunday,
> // ...
> ];
> }
> ```
https://github.com/dlang/dmd/pull/13776
More information about the Digitalmars-d
mailing list