October 30, 2013 Re: Dynamic associative array, to hold many values per key | ||||
---|---|---|---|---|
| ||||
Posted in reply to Logesh Pillay | Logesh Pillay:
> using struct as a key to an associative array worked fine without opHash and other special methods.
It works as long as you don't put reference types (like dynamic arrays and strings) as members of that struct.
Bye,
bearophile
|
Copyright © 1999-2021 by the D Language Foundation