Windows apps
Collapse the table of content
Expand the table of content
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.



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>  


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


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


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


© 2016 Microsoft