Namespaces
Variants

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

From cppreference.net
Ranges library
Range adaptors
template < bool Const >
class /*sentinel*/
(C++20 이후)
( 설명 전용* )

기본 뷰가 take_view::end 가 아닐 때 sized_range 의 반환 타입.

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

목차

멤버 타입

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

데이터 멤버

이름 정의
ranges:: sentinel_t < Base > end_ (비공개) (const 한정이 있을 수 있는) V 에서 얻은 sentinel
( 설명 전용 멤버 객체* )

멤버 함수

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

비멤버 함수

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