Namespaces
Variants

std::ranges::enumerate_view<V>::sentinel

cppreference.net에서
 
 
범위(Ranges) 라이브러리
범위 어댑터
 
 
template< bool Const >
class /*sentinel*/;
(C++23부터)
(설명 전용*)

기반 뷰가 enumerate_view::endcommon_range가 아닐 때 의 반환 타입입니다.

타입 /*sentinel*/<true>은 const 한정 오버로드에 의해 반환됩니다. 타입 /*sentinel*/<false>은 비-const 한정 오버로드에 의해 반환됩니다.

멤버 타입

멤버 정의
Base (비공개) maybe-const <Const, V>
(설명 전용 멤버 타입*)

데이터 멤버

멤버 설명
ranges::sentinel_t<Base> end_ (비공개) 센티널
(설명 전용 멤버 객체*)

멤버 함수

sentinel을 생성합니다
(public member function)
범위의 끝을 나타내는 sentinel을 반환합니다
(public member function)

비멤버 함수

(C++23)
sentinel과 enumerate_view::begin 에서 반환된 iterator를 비교합니다
(function)
(C++23)
sentinel과 enumerate_view::begin 에서 반환된 iterator 사이의 거리를 계산합니다
(function)

예제

참조문헌

  • C++23 표준 (ISO/IEC 14882:2024):
  • 26.7.23.4 클래스 템플릿 enumerate_view::sentinel [range.enumerate.sentinel]

참고 항목

웹페이지의 텍스트를 한국어로 번역합니다: HTML 태그나 속성은 번역하지 마십시오. 원래 서식을 유지하십시오. ,
,  태그 내부의 텍스트는 번역하지 마십시오.
C++ 관련 용어는 번역하지 마십시오. 정확성과 전문성이 요구됩니다.