std::tuple (3) - Linux Manuals
std::tuple: std::tuple
NAME
Synopsis
Defined in header <tuple>
template< class... Types > (since C++11)
class tuple;
Class template std::tuple is a fixed-size collection of heterogeneous values. It is a generalization of std::pair.
If (std::is_trivially_destructible_v<Types> && ...) is true, the destructor of tuple is trivial. (since C++17)
Template parameters
Types... - the types of the elements that the tuple stores. Empty list is supported.
Member functions
constructor (public member function)
operator= (public member function)
swap (public member function)
Non-member functions
make_tuple (function template)
tie (function template)
forward_as_tuple (function template)
tuple_cat (function template)
std::get(std::tuple) (function template)
operator==
operator!= lexicographically compares the values in the tuple
operator< (function template)
operator<=
operator>
operator>=
std::swap(std::tuple) specializes the std::swap algorithm
(C++11)
Helper classes
tuple_size (class template specialization)
tuple_element (class template specialization)
std::uses_allocator<std::tuple> specializes the std::uses_allocator type trait