Re: byKeyValue does not exist for associative arrays

2015-01-24 Thread H. S. Teoh via Digitalmars-d-learn
03 +, Bayan Rafeh wrote: > > > > > >> Apparently byKeyValue does not exist for associative arrays, > > >> should it? > > >> > > >> void main() { > > >> int[string] a; > > >> a.byKeyValue(); //Error: byKeyValu

Re: byKeyValue does not exist for associative arrays

2015-01-24 Thread Jonathan M Davis via Digitalmars-d-learn
On Saturday, January 24, 2015 12:05:10 Bayan Rafeh via Digitalmars-d-learn wrote: > On Saturday, 24 January 2015 at 11:18:57 UTC, ketmar wrote: > > On Sat, 24 Jan 2015 11:17:03 +, Bayan Rafeh wrote: > > > >> Apparently byKeyValue does not exist for associativ

Re: byKeyValue does not exist for associative arrays

2015-01-24 Thread Bayan Rafeh via Digitalmars-d-learn
On Saturday, 24 January 2015 at 11:18:57 UTC, ketmar wrote: On Sat, 24 Jan 2015 11:17:03 +, 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. }

Re: byKeyValue does not exist for associative arrays

2015-01-24 Thread ketmar via Digitalmars-d-learn
On Sat, 24 Jan 2015 11:17:03 +, 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'

byKeyValue does not exist for associative arrays

2015-01-24 Thread Bayan Rafeh via Digitalmars-d-learn
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