byPair

fnauto byPair(AA)(AA aa) if (isAssociativeArray!AA)

Construct a range iterating over an associative array by key/value tuples.

Parameters

aaThe associative array to iterate over.

Returns

A forward range

of Tuple's of key and value pairs from the given associative array. The members of each pair can be accessed by name (.key and .value). or by integer index (0 and 1 respectively).