다음을 통해 공유


list::const_reverse_iterator (STL/CLR)

제어 되는 시퀀스에 있는 상수 역방향 반복기의 종류.

    typedef T4 const_reverse_iterator;

설명

알 수 없는 형식의 개체 형식을 설명 T4 는 제어 되는 시퀀스에 대 한 상수 역방향 반복기로 사용할 수 있습니다.

예제

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

요구 사항

헤더: < cliext/목록 >

네임 스페이스: cliext

참고 항목

참조

list (STL/CLR)

list::reverse_iterator (STL/CLR)