byKeyValue does not exist for associative arrays

Bayan Rafeh via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jan 24 04:05:10 PST 2015


On Saturday, 24 January 2015 at 11:18:57 UTC, ketmar wrote:
> On Sat, 24 Jan 2015 11:17:03 +0000, Bayan Rafeh wrote:
>
>> Apparently byKeyValue does not exist for associative arrays, 
>> should it?
>> 
>> void main() {
>>      int[string] a;
>>      a.byKeyValue(); //Error: byKeyValue doesn't exist.
>> }
>> 
>> If it shouldn't could someone remove it from the documentation?
>> 
>> http://dlang.org/hash-map.html
>
> it exists... in current git head. ;-)

I thought the Arch repositories would be a little more up to 
date. Thanks :)


More information about the Digitalmars-d-learn mailing list