Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

<tuple>

 

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

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:
© 2016 Microsoft