[Issue 15863] .length for AA.byKey
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Apr 4 04:35:01 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=15863
Martin Nowak <code at dawg.eu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |code at dawg.eu
Resolution|--- |WONTFIX
--- Comment #2 from Martin Nowak <code at dawg.eu> ---
You can use takeExactly for this.
http://dlang.org/phobos/std_range.html#.takeExactly
---
aa.byKey.takeExactly(aa.length)
aa.byValue.takeExactly(aa.length)
---
--
More information about the Digitalmars-d-bugs
mailing list