Bug 17189 – Include byPair in the associative array document

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
dlang.org
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2017-02-16T05:39:00Z
Last change time
2017-02-21T09:40:00Z
Assigned to
nobody
Creator
yshuiv7

Comments

Comment #0 by yshuiv7 — 2017-02-16T05:39:00Z
byPair wraps around byKeyValue, and conveniently returns a range of Tuples from a associative array. But it's not mentioned anywhere on this page: https://dlang.org/spec/hash-map.html
Comment #1 by greeenify — 2017-02-21T09:40:00Z
The respective PR has been merged and is now online.