On 3/22/12, H. S. Teoh <[email protected]> wrote:
> OK, I've added these aliases and pushed to github. I think they're a
> useful thing to have. If not, it's easy to remove before we integrate
> with druntime. But at least in the meantime it will make these AA's
> easier to work with.
Could you also add an enum to the template like so:?
struct AssociativeArray(Key,Value)
{
enum isAssociativeArray = true;
...
}
I've realized that by just removing constraints I'm ending up with a
lot of conflicts (doh!), but I can implement a custom template that
checks for this enum field instead.