hashed array?

Andrej Mitrovic andrej.mitrovich at gmail.com
Mon Nov 12 14:36:25 PST 2012


On 11/12/12, Andrej Mitrovic <andrej.mitrovich at gmail.com> wrote:
> Otherwise people use workarounds like "alias
> void[0][string] StringSet", and wrap such a type in a struct with
> operator overloads to emulate the built-in hash syntax.

Unfortunately this is also problematic with libraries which don't
handle this type. For example serialization libraries can choke on
such a type, and probably any routine that isn't specifically designed
to work with void[0] will choke.


More information about the Digitalmars-d mailing list