The template class describes an object that wraps a pair of values.
template<typename Value1,
    typename Value2>
    ref class pair;
Parameters
- Value1 
 The type of first wrapped value.
- Value2 
 The type of second wrapped value.
Members
| Type Definition | Description | 
|---|---|
| The type of the first wrapped value. | |
| The type of the second wrapped value. | 
| Member Object | Description | 
|---|---|
| The first stored value. | |
| The second stored value. | 
| Member Function | Description | 
|---|---|
| Constructs a pair object. | |
| Swaps the contents of two pairs. | 
| Operator | Description | 
|---|---|
| Replaces the stored pair of values. | 
Remarks
The object stores a pair of values. You use this template class to combine two values into a single object. Note that cliext::pair (described here) stores only managed types; to store a pair of unmanaged types use std::pair, declared in <utility>.
Requirements
Header: <cliext/utility>
Namespace: cliext