File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -341,7 +341,11 @@ Properties for associative arrays are:
341341 ForeachStatement) which will iterate over key-value pairs of the
342342 associative array. The returned pairs are represented by an opaque type
343343 with $(D .key) and $(D .value) properties for accessing the key and
344- value of the pair, respectively.))
344+ value of the pair, respectively. Note that this is a low-level
345+ interface to iterating over the associative array and is not compatible
346+ with the $(LINK2 $(ROOT_DIR)phobos/std_typecons.html#.Tuple,`Tuple`)
347+ type in Phobos. For compatibility with `Tuple`, use
348+ $(LINK2 $(ROOT_DIR)phobos/std_array.html#.byPair,std.array.byPair) instead.))
345349 $(TROW $(D .get(Key key, lazy Value defVal)),
346350 $(ARGS Looks up $(D key); if it exists returns corresponding value
347351 else evaluates and returns $(D defVal).))
You can’t perform that action at this time.
0 commit comments