Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

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

      From cppreference.com
      <cpp‎ |ranges‎ |join with view
       
       
      Ranges library
      Range adaptors
       
       
      constexprauto end();
      (1)(since C++23)
      constexprauto end()const

          requiresranges::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)(since C++23)

      Returns aniterator or asentinel that compares equal to the past-the-end iterator of thejoin_with_view.

      1) Returns a mutable iterator/sentinel or const iterator/sentinel.
      • If all following conditions are satisfied, returns an iterator:
      • Otherwise, returns a sentinel.
      2) Returns a const iterator/sentinel.
      • If all following conditions are satisfied, returns an iterator:
      • Otherwise, returns a sentinel.
      For the definition of/*concatable*/, seestd::ranges::concat_view.

      [edit]Return value

       Overload Return value
      IteratorSentinel
      (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}

      [edit]Example

      This section is incomplete
      Reason: no example

      [edit]See also

      returns an iterator to the beginning
      (public member function)[edit]
      returns a sentinel indicating the end of a range
      (customization point object)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/ranges/join_with_view/end&oldid=176583"

      [8]ページ先頭

      ©2009-2025 Movatter.jp