Namespaces
Variants

std::ranges::join_with_view<V,Pattern>::end

cppreference.net에서 가져옴
 
 
Ranges 라이브러리
Range 어댑터
 
 
constexpr auto end();
(1) (C++23부터)
constexpr auto end() const
    requires ranges::forward_range<const V> &&
             ranges::forward_range<const Pattern> &&
             std::is_reference_v<ranges::range_reference_t<const V>>> &&
             ranges::input_range<ranges::range_reference_t<const V>> &&
             /*concatable*/<ranges::range_reference_t<const V>,
                            const Pattern>;
(2) (C++23부터)

iterator 또는 sentinel을 반환하며, 이는 join_with_view의 끝-다음 반복자와 같음으로 비교됩니다.

1) 변경 가능한 iterator/sentinel 또는 상수 iterator/sentinel을 반환합니다.
  • 다음 모든 조건이 충족되면 iterator를 반환합니다:
  • 그렇지 않으면 sentinel을 반환합니다.
2) 상수 iterator/sentinel을 반환합니다.
  • 다음 모든 조건이 충족되면 iterator를 반환합니다:
  • 그렇지 않으면 sentinel을 반환합니다.
/*concatable*/의 정의는 std::ranges::concat_view를 참조하십시오.

반환값

오버로드 반환 값
반복자 센티넬
(1) iterator  < simple-view  < V > &&
simple-view  < Pattern >>
{ * this, ranges:: end ( base_ ) }
sentinel  < simple-view  < V > &&
simple-view  < Pattern >>
{ * this }
(2) iterator  < true > { * this, ranges:: end ( base_ ) } sentinel  < true > { * this }

예제

참고 항목

시작을 가리키는 반복자를 반환합니다
(public member function)
범위의 끝을 나타내는 sentinel을 반환합니다
(customization point object)