Do you want to help me fix static AA initialization?

Quirin Schroll qs.il.paperinik at gmail.com
Fri Jul 21 08:55:26 UTC 2023


On Friday, 21 July 2023 at 06:24:09 UTC, Chris Piker wrote:
> Dumb user question:  Presuming this is fixed would it allow 
> code that looked like this: `auto aa = ["one":1, "two":2];`
> to work, or would the end result require `Hash!(string, 
> string)` as the type definition?

As far as I understand, it would be the former. It’s only not in 
Steven’s examples because his `Hash` template is not in the 
runtime and of course not special-cased by the compiler. He asks 
for help to get exactly there.



More information about the Digitalmars-d mailing list