Condividi tramite


hash_multiset::const_reverse_iterator (STL/CLR)

Il tipo di iteratore inverso costante per la sequenza selezionata.

    typedef T4 const_reverse_iterator;

Note

Il tipo viene descritto un oggetto di tipo non specificato T4 che può fungere da iteratore inverso costante per la sequenza selezionata.

Esempio

// cliext_hash_multiset_const_reverse_iterator.cpp 
// compile with: /clr 
#include <cliext/hash_set> 
 
typedef cliext::hash_multiset<wchar_t> Myhash_multiset; 
int main() 
    { 
    Myhash_multiset c1; 
    c1.insert(L'a'); 
    c1.insert(L'b'); 
    c1.insert(L'c'); 
 
// display contents " a b c" reversed 
    Myhash_multiset::const_reverse_iterator crit = c1.rbegin(); 
    for (; crit != c1.rend(); ++crit) 
        System::Console::Write(" {0}", *crit); 
    System::Console::WriteLine(); 
    return (0); 
    } 
 
  

Requisiti

intestazione: <cliext/hash_set>

Cliext diSpazio dei nomi:

Vedere anche

Riferimenti

hash_multiset (STL/CLR)

hash_multiset::reverse_iterator (STL/CLR)