std::tuple_element<std::pair>
Da cppreference.com.
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
<metanoindex/>
<tbody> </tbody>| Elemento definito nell'header <utility>
|
||
template< class T1, class T2 > struct tuple_element<0, std::pair<T1,T2> >; |
(1) | (dal C++11) |
template< class T1, class T2 > struct tuple_element<1, std::pair<T1,T2> >; |
(2) | (dal C++11) |
Le specializzazioni parziali di
std::tuple_element per le coppie di fornire un tempo di compilazione modo per ottenere i tipi di elementi della coppia, usando tuple sintassi simile.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.
You can help to correct and verify the translation. Click here for instructions.
Membri tipi
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. | |
Membro tipo
Original: Member type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Definition |
type
|
T1
|
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. | |
Membro tipo
Original: Member type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Definition |
type
|
T2
|
Esempio
| This section is incomplete Reason: no example |
Vedi anche
ottiene il tipo dell'elemento specificato 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 modello di specializzazione) | |
ottiene il tipo di elementi di 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 modello di specializzazione) | |
(C++11) |
ottiene la dimensione di 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 modello di specializzazione) |