| description | Learn more about: <tuple> | |
|---|---|---|
| title | <tuple> | |
| ms.date | 11/04/2016 | |
| f1_keywords |
|
|
| helpviewer_keywords |
|
|
| ms.assetid | e4ef5c2d-318b-44f6-8bce-fce4ecd796a3 |
Defines a template tuple whose instances hold objects of varying types.
Header: <tuple>
Namespace: std
| Name | Description |
|---|---|
| tuple Class | Wraps a fixed-length sequence of elements. |
| tuple_element Class | Wraps the type of a tuple element. |
| tuple_size Class | Wraps tuple element count. |
| uses_allocator |
| Name | Description |
|---|---|
| tuple_element_t | |
| tuple_size_v |
| Name | Description |
|---|---|
| operator== | Comparison of tuple objects, equal. |
| operator!= | Comparison of tuple objects, not equal. |
| operator< | Comparison of tuple objects, less than. |
| operator<= | Comparison of tuple objects, less than or equal. |
| operator> | Comparison of tuple objects, greater than. |
| operator>= | Comparison of tuple objects, greater than or equal. |
| Name | Description |
|---|---|
| apply | Calls a function with a tuple. |
| forward_as_tuple | Constructs a tuple of references. |
| get | Gets an element from a tuple object. |
| make_from_tuple | Shorthand to make a tuple. |
| make_tuple | Makes a tuple from element values. |
| swap | |
| tie | Makes a tuple from element references. |
| tuple_cat | Constructs a tuple object with a range of the type elements. |