Namespaces
Variants

std::ranges::elements_view<V,N>::sentinel

cppreference.net에서 가져옴
 
 
Ranges 라이브러리
Range 어댑터
 
 
template< bool Const >
class /*sentinel*/;
(설명 전용*)

기본 뷰가 elements_view::end가 아닐 때 common_range의 반환 타입입니다.

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

멤버 타입

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

데이터 멤버

멤버 설명
end_ (비공개) 에서 획득한 센티널maybe-const <Const, V>
(설명 전용 멤버 객체*)

멤버 함수

sentinel을 생성합니다
(public member function)
기본 sentinel을 반환합니다
(public member function)

비멤버 함수

(C++20)
elements_view::begin 에서 반환된 반복자와 센티널을 비교합니다
(함수)
(C++20)
elements_view::begin 에서 반환된 반복자와 센티널 사이의 거리를 계산합니다
(함수)