.TH "std::tuple< _Elements >" 3cxx "Sun Jan 8 2023" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::tuple< _Elements > \- Primary class template, tuple\&. .SH SYNOPSIS .br .PP .PP Inherits \fBstd::_Tuple_impl< 0, _Elements\&.\&.\&. >\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "template(), _ImplicitCtor< _Valid, _UElements\&.\&.\&. > = true> constexpr \fBtuple\fP (_UElements &&\&.\&.\&. __elements) noexcept(__nothrow_constructible< _UElements\&.\&.\&. >())" .br .ti -1c .RI "template(), _ExplicitCtor< _Valid, _UElements\&.\&.\&. > = false> constexpr \fBtuple\fP (_UElements &&\&.\&.\&. __elements) noexcept(__nothrow_constructible< _UElements\&.\&.\&. >())" .br .ti -1c .RI "template::value > = true> constexpr \fBtuple\fP (allocator_arg_t __tag, const _Alloc &__a)" .br .ti -1c .RI "template(), _ImplicitCtor< _Valid, _UElements\&.\&.\&. > = true> constexpr \fBtuple\fP (allocator_arg_t __tag, const _Alloc &__a, _UElements &&\&.\&.\&. __elements)" .br .ti -1c .RI "template(), _ExplicitCtor< _Valid, _UElements\&.\&.\&. > = false> constexpr \fBtuple\fP (allocator_arg_t __tag, const _Alloc &__a, _UElements &&\&.\&.\&. __elements)" .br .ti -1c .RI "template= 1), _ImplicitCtor< _NotEmpty, const _Elements &\&.\&.\&. > = true> constexpr \fBtuple\fP (allocator_arg_t __tag, const _Alloc &__a, const _Elements &\&.\&.\&. __elements)" .br .ti -1c .RI "template= 1), _ExplicitCtor< _NotEmpty, const _Elements &\&.\&.\&. > = false> constexpr \fBtuple\fP (allocator_arg_t __tag, const _Alloc &__a, const _Elements &\&.\&.\&. __elements)" .br .ti -1c .RI "template constexpr \fBtuple\fP (allocator_arg_t __tag, const _Alloc &__a, const \fBtuple\fP &__in)" .br .ti -1c .RI "template&>(), _ImplicitCtor< _Valid, const _UElements &\&.\&.\&. > = true> constexpr \fBtuple\fP (allocator_arg_t __tag, const _Alloc &__a, const \fBtuple\fP< _UElements\&.\&.\&. > &__in)" .br .ti -1c .RI "template&>(), _ExplicitCtor< _Valid, const _UElements &\&.\&.\&. > = false> constexpr \fBtuple\fP (allocator_arg_t __tag, const _Alloc &__a, const \fBtuple\fP< _UElements\&.\&.\&. > &__in)" .br .ti -1c .RI "template constexpr \fBtuple\fP (allocator_arg_t __tag, const _Alloc &__a, \fBtuple\fP &&__in)" .br .ti -1c .RI "template&&>(), _ImplicitCtor< _Valid, _UElements\&.\&.\&. > = true> constexpr \fBtuple\fP (allocator_arg_t __tag, const _Alloc &__a, \fBtuple\fP< _UElements\&.\&.\&. > &&__in)" .br .ti -1c .RI "template&&>(), _ExplicitCtor< _Valid, _UElements\&.\&.\&. > = false> constexpr \fBtuple\fP (allocator_arg_t __tag, const _Alloc &__a, \fBtuple\fP< _UElements\&.\&.\&. > &&__in)" .br .ti -1c .RI "template= 1), _ImplicitCtor< _NotEmpty, const _Elements &\&.\&.\&. > = true> constexpr \fBtuple\fP (const _Elements &\&.\&.\&. __elements) noexcept(__nothrow_constructible< const _Elements &\&.\&.\&. >())" .br .ti -1c .RI "template= 1), _ExplicitCtor< _NotEmpty, const _Elements &\&.\&.\&. > = false> constexpr \fBtuple\fP (const _Elements &\&.\&.\&. __elements) noexcept(__nothrow_constructible< const _Elements &\&.\&.\&. >())" .br .ti -1c .RI "constexpr \fBtuple\fP (const \fBtuple\fP &)=default" .br .ti -1c .RI "template&>(), _ImplicitCtor< _Valid, const _UElements &\&.\&.\&. > = true> constexpr \fBtuple\fP (const \fBtuple\fP< _UElements\&.\&.\&. > &__in) noexcept(__nothrow_constructible< const _UElements &\&.\&.\&. >())" .br .ti -1c .RI "template&>(), _ExplicitCtor< _Valid, const _UElements &\&.\&.\&. > = false> constexpr \fBtuple\fP (const \fBtuple\fP< _UElements\&.\&.\&. > &__in) noexcept(__nothrow_constructible< const _UElements &\&.\&.\&. >())" .br .ti -1c .RI "constexpr \fBtuple\fP (\fBtuple\fP &&)=default" .br .ti -1c .RI "template&&>(), _ImplicitCtor< _Valid, _UElements\&.\&.\&. > = true> constexpr \fBtuple\fP (\fBtuple\fP< _UElements\&.\&.\&. > &&__in) noexcept(__nothrow_constructible< _UElements\&.\&.\&. >())" .br .ti -1c .RI "template&&>(), _ExplicitCtor< _Valid, _UElements\&.\&.\&. > = false> constexpr \fBtuple\fP (\fBtuple\fP< _UElements\&.\&.\&. > &&__in) noexcept(__nothrow_constructible< _UElements\&.\&.\&. >())" .br .ti -1c .RI "constexpr \fBtuple\fP & \fBoperator=\fP (__conditional_t< __assignable< _Elements\&.\&.\&. >(), \fBtuple\fP &&, __nonesuch && > __in) noexcept(__nothrow_assignable< _Elements\&.\&.\&. >())" .br .ti -1c .RI "constexpr \fBtuple\fP & \fBoperator=\fP (__conditional_t< __assignable< const _Elements &\&.\&.\&. >(), const \fBtuple\fP &, const __nonesuch & > __in) noexcept(__nothrow_assignable< const _Elements &\&.\&.\&. >())" .br .ti -1c .RI "template constexpr __enable_if_t< __assignable< const _UElements &\&.\&.\&. >(), \fBtuple\fP & > \fBoperator=\fP (const \fBtuple\fP< _UElements\&.\&.\&. > &__in) noexcept(__nothrow_assignable< const _UElements &\&.\&.\&. >())" .br .ti -1c .RI "template constexpr __enable_if_t< __assignable< _UElements\&.\&.\&. >(), \fBtuple\fP & > \fBoperator=\fP (\fBtuple\fP< _UElements\&.\&.\&. > &&__in) noexcept(__nothrow_assignable< _UElements\&.\&.\&. >())" .br .ti -1c .RI "constexpr void \fBswap\fP (\fBtuple\fP &__in) noexcept(__and_< __is_nothrow_swappable< _Elements >\&.\&.\&. >::value)" .br .in -1c .SH "Detailed Description" .PP .SS "template .br class std::tuple< _Elements >"Primary class template, tuple\&. .PP Definition at line \fB609\fP of file \fBtuple\fP\&. .SH "Constructor & Destructor Documentation" .PP .SS "template template::value > = true> constexpr \fBstd::tuple\fP< _Elements >::tuple ()\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB713\fP of file \fBtuple\fP\&. .SS "template template::value > = false> constexpr \fBstd::tuple\fP< _Elements >::tuple ()\fC [inline]\fP, \fC [explicit]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB720\fP of file \fBtuple\fP\&. .SS "template template= 1), _ImplicitCtor< _NotEmpty, const _Elements &\&.\&.\&. > = true> constexpr \fBstd::tuple\fP< _Elements >::tuple (const _Elements &\&.\&.\&. __elements)\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB727\fP of file \fBtuple\fP\&. .SS "template template= 1), _ExplicitCtor< _NotEmpty, const _Elements &\&.\&.\&. > = false> constexpr \fBstd::tuple\fP< _Elements >::tuple (const _Elements &\&.\&.\&. __elements)\fC [inline]\fP, \fC [explicit]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB734\fP of file \fBtuple\fP\&. .SS "template template(), _ImplicitCtor< _Valid, _UElements\&.\&.\&. > = true> constexpr \fBstd::tuple\fP< _Elements >::tuple (_UElements &&\&.\&.\&. __elements)\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB742\fP of file \fBtuple\fP\&. .SS "template template(), _ExplicitCtor< _Valid, _UElements\&.\&.\&. > = false> constexpr \fBstd::tuple\fP< _Elements >::tuple (_UElements &&\&.\&.\&. __elements)\fC [inline]\fP, \fC [explicit]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB750\fP of file \fBtuple\fP\&. .SS "template template&>(), _ImplicitCtor< _Valid, const _UElements &\&.\&.\&. > = true> constexpr \fBstd::tuple\fP< _Elements >::tuple (const \fBtuple\fP< _UElements\&.\&.\&. > & __in)\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB763\fP of file \fBtuple\fP\&. .SS "template template&>(), _ExplicitCtor< _Valid, const _UElements &\&.\&.\&. > = false> constexpr \fBstd::tuple\fP< _Elements >::tuple (const \fBtuple\fP< _UElements\&.\&.\&. > & __in)\fC [inline]\fP, \fC [explicit]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB773\fP of file \fBtuple\fP\&. .SS "template template&&>(), _ImplicitCtor< _Valid, _UElements\&.\&.\&. > = true> constexpr \fBstd::tuple\fP< _Elements >::tuple (\fBtuple\fP< _UElements\&.\&.\&. > && __in)\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB783\fP of file \fBtuple\fP\&. .SS "template template&&>(), _ExplicitCtor< _Valid, _UElements\&.\&.\&. > = false> constexpr \fBstd::tuple\fP< _Elements >::tuple (\fBtuple\fP< _UElements\&.\&.\&. > && __in)\fC [inline]\fP, \fC [explicit]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB792\fP of file \fBtuple\fP\&. .SS "template template::value > = true> constexpr \fBstd::tuple\fP< _Elements >::tuple (allocator_arg_t __tag, const _Alloc & __a)\fC [inline]\fP, \fC [constexpr]\fP" .PP Definition at line \fB801\fP of file \fBtuple\fP\&. .SS "template template= 1), _ImplicitCtor< _NotEmpty, const _Elements &\&.\&.\&. > = true> constexpr \fBstd::tuple\fP< _Elements >::tuple (allocator_arg_t __tag, const _Alloc & __a, const _Elements &\&.\&.\&. __elements)\fC [inline]\fP, \fC [constexpr]\fP" .PP Definition at line \fB807\fP of file \fBtuple\fP\&. .SS "template template= 1), _ExplicitCtor< _NotEmpty, const _Elements &\&.\&.\&. > = false> constexpr \fBstd::tuple\fP< _Elements >::tuple (allocator_arg_t __tag, const _Alloc & __a, const _Elements &\&.\&.\&. __elements)\fC [inline]\fP, \fC [explicit]\fP, \fC [constexpr]\fP" .PP Definition at line \fB815\fP of file \fBtuple\fP\&. .SS "template template(), _ImplicitCtor< _Valid, _UElements\&.\&.\&. > = true> constexpr \fBstd::tuple\fP< _Elements >::tuple (allocator_arg_t __tag, const _Alloc & __a, _UElements &&\&.\&.\&. __elements)\fC [inline]\fP, \fC [constexpr]\fP" .PP Definition at line \fB823\fP of file \fBtuple\fP\&. .SS "template template(), _ExplicitCtor< _Valid, _UElements\&.\&.\&. > = false> constexpr \fBstd::tuple\fP< _Elements >::tuple (allocator_arg_t __tag, const _Alloc & __a, _UElements &&\&.\&.\&. __elements)\fC [inline]\fP, \fC [explicit]\fP, \fC [constexpr]\fP" .PP Definition at line \fB833\fP of file \fBtuple\fP\&. .SS "template template constexpr \fBstd::tuple\fP< _Elements >::tuple (allocator_arg_t __tag, const _Alloc & __a, const \fBtuple\fP< _Elements > & __in)\fC [inline]\fP, \fC [constexpr]\fP" .PP Definition at line \fB840\fP of file \fBtuple\fP\&. .SS "template template constexpr \fBstd::tuple\fP< _Elements >::tuple (allocator_arg_t __tag, const _Alloc & __a, \fBtuple\fP< _Elements > && __in)\fC [inline]\fP, \fC [constexpr]\fP" .PP Definition at line \fB845\fP of file \fBtuple\fP\&. .SS "template template&>(), _ImplicitCtor< _Valid, const _UElements &\&.\&.\&. > = true> constexpr \fBstd::tuple\fP< _Elements >::tuple (allocator_arg_t __tag, const _Alloc & __a, const \fBtuple\fP< _UElements\&.\&.\&. > & __in)\fC [inline]\fP, \fC [constexpr]\fP" .PP Definition at line \fB853\fP of file \fBtuple\fP\&. .SS "template template&>(), _ExplicitCtor< _Valid, const _UElements &\&.\&.\&. > = false> constexpr \fBstd::tuple\fP< _Elements >::tuple (allocator_arg_t __tag, const _Alloc & __a, const \fBtuple\fP< _UElements\&.\&.\&. > & __in)\fC [inline]\fP, \fC [explicit]\fP, \fC [constexpr]\fP" .PP Definition at line \fB865\fP of file \fBtuple\fP\&. .SS "template template&&>(), _ImplicitCtor< _Valid, _UElements\&.\&.\&. > = true> constexpr \fBstd::tuple\fP< _Elements >::tuple (allocator_arg_t __tag, const _Alloc & __a, \fBtuple\fP< _UElements\&.\&.\&. > && __in)\fC [inline]\fP, \fC [constexpr]\fP" .PP Definition at line \fB876\fP of file \fBtuple\fP\&. .SS "template template&&>(), _ExplicitCtor< _Valid, _UElements\&.\&.\&. > = false> constexpr \fBstd::tuple\fP< _Elements >::tuple (allocator_arg_t __tag, const _Alloc & __a, \fBtuple\fP< _UElements\&.\&.\&. > && __in)\fC [inline]\fP, \fC [explicit]\fP, \fC [constexpr]\fP" .PP Definition at line \fB888\fP of file \fBtuple\fP\&. .SH "Member Function Documentation" .PP .SS "template constexpr \fBtuple\fP & \fBstd::tuple\fP< _Elements >::operator= (__conditional_t< __assignable< _Elements\&.\&.\&. >(), \fBtuple\fP< _Elements > &&, __nonesuch && > __in)\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB909\fP of file \fBtuple\fP\&. .SS "template constexpr \fBtuple\fP & \fBstd::tuple\fP< _Elements >::operator= (__conditional_t< __assignable< const _Elements &\&.\&.\&. >(), const \fBtuple\fP< _Elements > &, const __nonesuch & > __in)\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB898\fP of file \fBtuple\fP\&. .SS "template template constexpr __enable_if_t< __assignable< const _UElements &\&.\&.\&. >(), \fBtuple\fP & > \fBstd::tuple\fP< _Elements >::operator= (const \fBtuple\fP< _UElements\&.\&.\&. > & __in)\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB921\fP of file \fBtuple\fP\&. .SS "template template constexpr __enable_if_t< __assignable< _UElements\&.\&.\&. >(), \fBtuple\fP & > \fBstd::tuple\fP< _Elements >::operator= (\fBtuple\fP< _UElements\&.\&.\&. > && __in)\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB931\fP of file \fBtuple\fP\&. .SS "template constexpr void \fBstd::tuple\fP< _Elements >::swap (\fBtuple\fP< _Elements > & __in)\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB941\fP of file \fBtuple\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.