Asssociative Array by Key-Value-Pair

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Dec 15 10:55:12 PST 2014


> Now this yields tuples:
> assert(aa.byPair!Tuple.array == aa.pairs!Tuple);

But I'd really like tuples as built-ins for D -.- This is a 
work-around that cements the ugly Phobos tuples in the 
language... -.-

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list