On Friday, 31 January 2014 at 08:40:30 UTC, Jack Applegame wrote:
Why doesn't Rebindable allow associative arrays?

import std.typecons;

Rebindable!(immutable string[]) data1;       // ok
Rebindable!(immutable string[string]) data2; // error

an associative array doesn't pass the isArray test

isArray!(string[]) // true
isArray!(string[string]) // false

Not sure if there is some inherent reason why but I would venture
to say it is a bug.

Reply via email to