Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::ranges::subrange<I,S,K>::begin

      From cppreference.com
      <cpp‎ |ranges‎ |subrange
       
       
      Ranges library
      Range adaptors
       
       
      constexpr I begin()const requiresstd::copyable<I>;
      (1)(since C++20)
      constexpr I begin() requires(!std::copyable<I>);
      (2)(since C++20)

      Obtains the iterator to the beginning of thesubrange.

      range-begin-end.svg

      [edit]Return value

      1)begin_.
      2)std::move(begin_ ).

      [edit]Example

      This section is incomplete
      Reason: no example

      [edit]See also

      obtains the sentinel
      (public member function)[edit]
      (C++11)(C++14)
      returns an iterator to the beginning of a container or array
      (function template)[edit]
      returns an iterator to the beginning of a range
      (customization point object)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/ranges/subrange/begin&oldid=176902"

      [8]ページ先頭

      ©2009-2025 Movatter.jp