So how do you create an associative array with an immutable value, anyways?

Nick Treleaven nick at geany.org
Sat Oct 8 17:27:58 UTC 2022


On Saturday, 8 October 2022 at 17:09:39 UTC, FeepingCreature 
wrote:
>
> Yeah okay so it's definitely possible, but I do feel it's kinda 
> questionable to call barely documented internal 
> implementation-dependent (?) runtime functions from user code...


What's missing from the docs?
Besides object there's also the AA docs:
https://dlang.org/spec/hash-map.html#inserting_if_not_present


More information about the Digitalmars-d mailing list