<tuple>

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

For the latest documentation on Visual Studio 2017, see <tuple> on docs.microsoft.com. Defines a template tuple whose instances hold objects of varying types.

#include <tuple>  

Classes

tupleWraps a fixed-length sequence of elements.
tuple_element ClassWraps the type of a tuple element.
tuple_size ClassWraps tuple element count.

Operators

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

Functions

getGets an element from a tuple object.
make_tupleMakes a tuple from element values.
tieMakes a tuple from element references.

<array>

Show: