
std::tuple - cppreference.com
Class template std::tuple is a fixed-size collection of heterogeneous values. It is a generalization of std::pair. If std::is_trivially_destructible<Ti>::value is true for every Ti in Types, the destructor of …
std::tuple<Types...>::tuple - cppreference.com
Constructs a new tuple. In the descriptions that follow, let i be in the range [0, sizeof...(Types)) in order, Ti be the i th type in Types, and Ui be the i th type in a template parameter pack named UTypes, …
std::make_tuple - cppreference.com
Creates a tuple object, deducing the target type from the types of arguments. For each Ti in Types..., the corresponding type Vi in VTypes... is std::decay<Ti>::type unless application of std::decay results in …
Standard library header <tuple> (C++11) - cppreference.com
TTypes, class... UTypes> constexpr common_comparison_category_t</*synth-three-way-result*/<TTypes, UTypes>...> operator<=>(const tuple<TTypes...>&, const tuple<UTypes...>&); // …
std::get (std::tuple) - cppreference.com
5-8) Extracts the element of the tuple t whose type is T. Fails to compile unless the tuple has exactly one element of that type.
std::tuple_element<std::tuple> - cppreference.com
Provides compile-time indexed access to the types of the elements of the tuple.
tuple-like, pair-like - cppreference.com
Notes tuple-like types implement the tuple protocol, i.e., such types can be used with std::get, std::tuple_element and std::tuple_size. Elements of tuple-like types can be bound with structured …
std::tuple_cat - cppreference.com
Constructs a tuple that is a concatenation of all tuples in args. The element types /* CTypes */ of the returned tuple is formed by concatenating the elements type packs of all std::tuple(until C++23)tuple …
cppreference.com
What links here Related changes Upload file Special pages Printable version Permanent link Page information
std::tuple_size<std::tuple> - cppreference.com
Provides access to the number of elements in a tuple as a compile-time constant expression.