So how do you create an associative array with an immutable value, anyways?
Steven Schveighoffer
schveiguy at gmail.com
Fri Oct 7 16:03:49 UTC 2022
On 10/7/22 11:27 AM, FeepingCreature wrote:
> It's hard to see how you'd make `require` work but not `assocArray`,
> since `require` is not exactly a built-in feature either.
You can either cast (which is reasonable, considering that the
assignment only happens when it didn't already exist) or make a new hook.
-Steve
More information about the Digitalmars-d
mailing list