Namespaces
Variants

std::ranges::take_view<V>::sentinel

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

기본 뷰(base view)가 take_view::endsized_range가 아닐 때의 반환 타입입니다.

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

멤버 유형

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

데이터 멤버

멤버 설명
ranges::sentinel_t<Base> end_ (비공개) (선언 시 const 한정이 가능한) V
에서 얻은 센티널(설명 전용 멤버 객체*)

멤버 함수

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

비멤버 함수

(C++20)
take_view::begin 에서 반환된 반복자와 sentinel을 비교합니다
(함수)