[pairs.general]

# 22 General utilities library [[utilities]](./#utilities)

## 22.3 Pairs [[pairs]](pairs#general)

### 22.3.1 General [pairs.general]

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/utilities.tex#L737)

The library provides a template for heterogeneous pairs of values[.](#1.sentence-1)

The library also provides a matching function template to simplify
their construction and several templates that provide access to pair objects as if they were tuple objects (see [[tuple.helper]](tuple.helper "22.4.7 Tuple helper classes") and [[tuple.elem]](tuple.elem "22.4.8 Element access"))[.](#1.sentence-2)
