@head @module std @title Class std::Pair<L, R> @index Pair
Instances of the Pair class represent immutable pairs of two arbitrary values. Pairs can only be constructed using the colon (:) operator. A typical use of pair objects is as arguments to the constructor of the @ref{std::Map} class, where pairs represent (key, value) pairs, and in range indexing. @class Pair @desc The Pair type. Pair objects can be constructed using the colon (:) operator. Within an index expression (inside square brackets [ ]), the left or right operand, or both, can be left out; in this case the values default to nil. @end