Espaces de noms
Variantes

std::tuple_element<std::pair>

De cppreference.com

<metanoindex/>

 
 
 
std::pair
Les fonctions membres
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
pair::pair
pair::operator=
pair::swap
Tiers fonctions
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
make_pair
operator=
operator!=
operator<
operator<=
operator>
operator>=
std::swap
get (C++11)
Classes d'aide
Original:
Helper classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
tuple_size (C++11)
tuple_element (C++11)
 
<tbody> </tbody>
Déclaré dans l'en-tête <utility>
template< class T1, class T2 > struct tuple_element<0, std::pair<T1,T2> >;
(1) (depuis C++11)
template< class T1, class T2 > struct tuple_element<1, std::pair<T1,T2> >;
(2) (depuis C++11)
Les spécialisations partielles de std::tuple_element pour les paires de fournir un moyen de compilation pour obtenir les types d'éléments de la paire, en utilisant une syntaxe tuple .
Original:
The partial specializations of std::tuple_element for pairs provide a compile-time way to obtain the types of the pair's elements, using tuple-like syntax.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Types de membres

Première version
Original:
First version
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Type du membre Définition
type T1
Deuxième version
Original:
Second version
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Type du membre Définition
type T2

Exemple

Voir aussi

obtient le type de l'élément spécifié
Original:
obtains the type of the specified element
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(classe générique spécialisée) [edit]
obtient le type des éléments de array
Original:
obtains the type of the elements of array
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(classe générique spécialisée) [edit]
obtient la taille d'un pair
Original:
obtains the size of a pair
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(classe générique spécialisée) [edit]