On Saturday, 8 October 2022 at 17:27:58 UTC, Nick Treleaven wrote:
>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
Which, again, doesn't work with immutable types...