std::tuple< _T1, _T2 > Class Template Reference
Utilities
Inheritance diagram for std::tuple< _T1, _T2 >:
[legend]

## Public Member Functions

constexpr | tuple (const _T1 &__a1, const _T2 &__a2)
template<typename _U1 , typename _U2 , typename = typename enable_if<__and_<is_convertible<_U1, _T1>, is_convertible<_U2, _T2>>::value>::type>
constexpr | tuple (_U1 &&__a1, _U2 &&__a2)
constexpr | tuple (const tuple &)=default
constexpr | tuple (tuple &&)=default
template<typename _U1 , typename _U2 , typename = typename enable_if<__and_<is_convertible<const _U1&, _T1>, is_convertible<const _U2&, _T2>>::value>::type>
constexpr | tuple (const tuple< _U1, _U2 > &__in)
template<typename _U1 , typename _U2 , typename = typename enable_if<__and_<is_convertible<_U1, _T1>, is_convertible<_U2, _T2>>::value>::type>
constexpr | tuple (tuple< _U1, _U2 > &&__in)
template<typename _U1 , typename _U2 , typename = typename enable_if<__and_<is_convertible<const _U1&, _T1>, is_convertible<const _U2&, _T2>>::value>::type>
constexpr | tuple (const pair< _U1, _U2 > &__in)
template<typename _U1 , typename _U2 , typename = typename enable_if<__and_<is_convertible<_U1, _T1>, is_convertible<_U2, _T2>>::value>::type>
constexpr | tuple (pair< _U1, _U2 > &&__in)
template<typename _Alloc >
| tuple (allocator_arg_t __tag, const _Alloc &__a)
template<typename _Alloc >
| tuple (allocator_arg_t __tag, const _Alloc &__a, const _T1 &__a1, const _T2 &__a2)
template<typename _Alloc , typename _U1 , typename _U2 >
| tuple (allocator_arg_t __tag, const _Alloc &__a, _U1 &&__a1, _U2 &&__a2)
template<typename _Alloc >
| tuple (allocator_arg_t __tag, const _Alloc &__a, const tuple &__in)
template<typename _Alloc >
| tuple (allocator_arg_t __tag, const _Alloc &__a, tuple &&__in)
template<typename _Alloc , typename _U1 , typename _U2 >
| tuple (allocator_arg_t __tag, const _Alloc &__a, const tuple< _U1, _U2 > &__in)
template<typename _Alloc , typename _U1 , typename _U2 >
| tuple (allocator_arg_t __tag, const _Alloc &__a, tuple< _U1, _U2 > &&__in)
template<typename _Alloc , typename _U1 , typename _U2 >
| tuple (allocator_arg_t __tag, const _Alloc &__a, const pair< _U1, _U2 > &__in)
template<typename _Alloc , typename _U1 , typename _U2 >
| tuple (allocator_arg_t __tag, const _Alloc &__a, pair< _U1, _U2 > &&__in)
tuple & | operator= (const tuple &__in)
tuple & | operator= (tuple &&__in) noexcept(is_nothrow_move_assignable< _Inherited >::value)
template<typename _U1 , typename _U2 >
tuple & | operator= (const tuple< _U1, _U2 > &__in)
template<typename _U1 , typename _U2 >
tuple & | operator= (tuple< _U1, _U2 > &&__in)
template<typename _U1 , typename _U2 >
tuple & | operator= (const pair< _U1, _U2 > &__in)
template<typename _U1 , typename _U2 >
tuple & | operator= (pair< _U1, _U2 > &&__in)
void | swap (tuple &__in) noexcept(noexcept(__in._M_swap(__in)))

## Detailed Description

### template<typename _T1, typename _T2>
class std::tuple< _T1, _T2 >

Partial specialization, 2-element tuple. Includes construction and assignment from a pair.

Definition at line 521 of file tuple.

The documentation for this class was generated from the following file:

- tuple