Mercurial > projects > ldc
view gen/aa.h @ 1511:5b66008246bb
Implement equality comparison for associative arrays. The semantics aren't in
the spec, but DMD does a simple pointer comparison. Complaints about this go to
http://d.puremagic.com/issues/show_bug.cgi?id=1429 :P.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Sun, 21 Jun 2009 00:12:29 +0200 |
parents | eef8ac26c66c |
children | 09734fb929c0 |
line wrap: on
line source
#ifndef LDC_GEN_AA_H #define LDC_GEN_AA_H DValue* DtoAAIndex(Loc& loc, Type* type, DValue* aa, DValue* key, bool lvalue); DValue* DtoAAIn(Loc& loc, Type* type, DValue* aa, DValue* key); void DtoAARemove(Loc& loc, DValue* aa, DValue* key); #endif // LDC_GEN_AA_H