Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::ranges::zip_transform_view<F,Views...>::end

      From cppreference.com
      <cpp‎ |ranges‎ |zip transform view
       
       
      Ranges library
      Range adaptors
       
      std::ranges::zip_transform_view
      Member functions
      zip_transform_view::end
      Deduction guides
      Iterator
      Member functions
      Non-member functions
      Sentinel
      Member functions
      Non-member functions
       
      constexprauto end();
      (1)(since C++23)
      constexprauto end()const

          requiresranges::range<const/*InnerView*/>&&
                   std::regular_invocable<const F&,

                       ranges::range_reference_t<const Views>...>;
      (2)(since C++23)

      Returns aniterator or asentinel that compares equal to the end iterator of thezip_transform_view.

      Letzip_ denote the underlying tuple of views:

      1) Equivalent to:
      ifconstexpr(ranges::common_range</*InnerView*/>)

         return/*iterator*/<false>(*this, zip_.end());
      else

         return/*sentinel*/<false>(zip_.end());
      2) Equivalent to:
      ifconstexpr(ranges::common_range<const/*InnerView*/>)

         return/*iterator*/<true>(*this, zip_.end());
      else

         return/*sentinel*/<true>(zip_.end());

      Contents

      [edit]Parameters

      (none)

      [edit]Return value

      An iterator or sentinel representing the end of thezip_transform_view, as described above.

      [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/zip_transform_view/end&oldid=140715"

      [8]ページ先頭

      ©2009-2026 Movatter.jp