std::ranges...r::iterator(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

πŸ’– NAME πŸ’–

Bestie, this is the page for std::ranges::adjacent_transform_view::iterator::iterator - std::ranges::adjacent_transform_view::iterator::iterator. Page id: std::ranges...r::iterator(3). It lives in the C++ Standard Libary manual (yes, that spelling, I’m not fixing it πŸ’…).


✨ Synopsis ✨

          /*iterator*/() = default;                                     (1)
       (since C++23)
          constexpr /*iterator*/( /*iterator*/<!Const> i )

              requires Const &&                                         (2)
       (since C++23)

                  std::convertible_to</*inner-iterator*/<false>,
          /*inner-iterator*/<Const>>;
          private:
          constexpr /*iterator*/( Parent& parent,                       (3)
       (exposition only*)
          /*inner-iterator*/<Const> inner );

Okay so this whole synopsis is literally the β€œconstruct an iterator” zone. πŸ› οΈβœ¨

  1. 1) β€” Default constructor. Value-initializes the underlying pointer parent_ with nullptr, and default-initializes the underlying iterator inner_.
  2. 2) β€” Conversion from /*iterator*/<false> to /*iterator*/<true>. Initializes the underlying pointer parent_ with i.parent_, and move constructs the underlying iterator inner_ with std::move(i.inner_).
  3. 3) β€” This iterator also has a private constructor which is used by ranges::adjacent_transform_view::begin and ranges::adjacent_transform_view::end. This constructor is not accessible to users. Initializes parent_ with std::addressof(parent), and move constructs inner_ with std::move(inner).

πŸŽ€ Parameters πŸŽ€

  • i β€” an /*iterator*/<false>
  • parent β€” an owning object of type adjacent_transform_view
  • inner β€” an iterator of type adjacent_transform_view::inner_iterator

πŸ¦‹ Example πŸ¦‹

This section is incomplete.

Reason: no example.


🌈 Category 🌈

  • * Todo no example

πŸ’– that’s the whole page, bestie πŸ’– source: http://cppreference.com Β· version/date: 2024.06.10 Β· manual page: std::ranges...r::iterator(3) 🫢

πŸ“¦ where this page comes from