Dynamic associative array, to hold many values per key

bearophile bearophileHUGS at lycos.com
Wed Oct 30 02:26:04 PDT 2013


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


More information about the Digitalmars-d-learn mailing list