hash_set::const_reverse_iterator (STL/CLR)
제어 되는 시퀀스에 있는 상수 역방향 반복기의 종류.
typedef T4 const_reverse_iterator;
설명
알 수 없는 형식의 개체 형식을 설명 T4 는 제어 되는 시퀀스에 대 한 상수 역방향 반복기로 사용할 수 있습니다.
예제
// cliext_hash_set_const_reverse_iterator.cpp
// compile with: /clr
#include <cliext/hash_set>
typedef cliext::hash_set<wchar_t> Myhash_set;
int main()
{
Myhash_set c1;
c1.insert(L'a');
c1.insert(L'b');
c1.insert(L'c');
// display contents " a b c" reversed
Myhash_set::const_reverse_iterator crit = c1.rbegin();
for (; crit != c1.rend(); ++crit)
System::Console::Write(" {0}", *crit);
System::Console::WriteLine();
return (0);
}
요구 사항
헤더: < cliext/hash_set >
네임 스페이스: cliext