https://issues.dlang.org/show_bug.cgi?id=20617
--- Comment #2 from Andrej Mitrovic <[email protected]> --- Never mind, I found a better way: ----- import std.array; void main() { int[int] map1 = [1:1, 2:2, 3:3]; int[int] map2 = assocArray(map1.byPair()); } ----- Perhaps this should be added to the docs if it's not already there. --
