Pair::Second (STL/CLR)

O segundo quebradas valor.

    Value2 second;

Comentários

O objeto armazena o segundo valor ajustado.

Exemplo

// cliext_pair_second.cpp 
// compile with: /clr 
#include <cliext/utility> 
 
int main() 
    { 
    cliext::pair<wchar_t, int> c1(L'x', 3); 
    System::Console::WriteLine("[{0}, {1}]", c1.first, c1.second); 
 
    cliext::pair<wchar_t, int>::first_type first_val = c1.first; 
    cliext::pair<wchar_t, int>::second_type second_val = c1.second; 
    System::Console::WriteLine("[{0}, {1}]", first_val, second_val); 
    return (0); 
    } 
 
  

Requisitos

Cabeçalho: < cliext/utilitário >

Namespace: cliext

Consulte também

Referência

par (STL/CLR)

Pair::First (STL/CLR)

Pair::first_type (STL/CLR)

Pair::second_type (STL/CLR)