Input Range addition to associative arrays

bearophile bearophileHUGS at lycos.com
Fri Dec 7 07:47:38 PST 2012


Ali Çehreli:

> Here is a quick and dirty implementation that is based on the 
> assumption that byKey and byValue visit the elements in the 
> same order:

I think that currently the D specs do not assert that quality of 
byKey/byValue. So your code is not portable.

Bye,
bearophile


More information about the Digitalmars-d mailing list