다음을 통해 공유


checked_array_iterator::base

내부 반복기에서 복구는 checked_array_iterator.

_Iterator base() const;

설명

자세한 내용은 확인 된 반복기를 참조하십시오.

예제

// checked_array_iterators_base.cpp
// compile with: /EHsc
#include <iterator>
#include <vector>
#include <iostream>

int main() {
   using namespace std;

   int V1[10];

   for (int i = 0; i < 10 ; i++)
      V1[i] = i;

   int* bpos;

   stdext::checked_array_iterator<int*> rpos(V1, 10);
   rpos++;

   bpos = rpos.base ( );
   cout << "The iterator underlying rpos is bpos & it points to: " 
        << *bpos << "." << endl;
}
  

요구 사항

헤더: <iterator>

네임 스페이스: stdext

참고 항목

참조

checked_array_iterator Class

표준 템플릿 라이브러리