Feature to get or add value to an associative array.

Giles Bathgate giles.bathgate at gmail.com
Mon Apr 16 08:25:21 UTC 2018


On Monday, 16 April 2018 at 03:42:18 UTC, Jordan Wilson wrote:
> I think Adding a Yes.add flag to the existing get makes sense

That's an interesting idea. I forgot to mention that getOrAdd is 
a mutable function whereas get is inout, so that might also be 
problematic.




More information about the Digitalmars-d mailing list