| title | <tuple> | Microsoft Docs | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ms.custom | ||||||||||||||
| ms.date | 11/04/2016 | |||||||||||||
| ms.reviewer | ||||||||||||||
| ms.suite | ||||||||||||||
| ms.technology |
|
|||||||||||||
| ms.tgt_pltfrm | ||||||||||||||
| ms.topic | article | |||||||||||||
| f1_keywords |
|
|||||||||||||
| dev_langs |
|
|||||||||||||
| helpviewer_keywords |
|
|||||||||||||
| ms.assetid | e4ef5c2d-318b-44f6-8bce-fce4ecd796a3 | |||||||||||||
| caps.latest.revision | 20 | |||||||||||||
| author | corob-msft | |||||||||||||
| ms.author | corob | |||||||||||||
| manager | ghogen | |||||||||||||
| translation.priority.ht |
|
Defines a template tuple whose instances hold objects of varying types.
#include <tuple>
| tuple | Wraps a fixed-length sequence of elements. |
| tuple_element Class | Wraps the type of a tuple element. |
| tuple_size Class | Wraps 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 |
| get | Gets an element from a tuple object. |
| make_tuple | Makes a tuple from element values. |
| tie | Makes a tuple from element references. |