libstdc++
std::tuple< _T1, _T2 > Class Template Reference

Inherits _Tuple_impl< 0, _T1, _T2 >.

List of all members.

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 &)
constexpr tuple (tuple &&)
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)
tupleoperator= (const tuple &__in)
tupleoperator= (tuple &&__in) noexcept(is_nothrow_move_assignable< _Inherited >
template<typename _U1 , typename _U2 >
tupleoperator= (const tuple< _U1, _U2 > &__in)
template<typename _U1 , typename _U2 >
tupleoperator= (tuple< _U1, _U2 > &&__in)
template<typename _U1 , typename _U2 >
tupleoperator= (const pair< _U1, _U2 > &__in)
template<typename _U1 , typename _U2 >
tupleoperator= (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 507 of file tuple.


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