Namespaces
Variants
Actions

iter_move(ranges::chunk_view::inner-iterator)

From cppreference.com
 
C++
 
Ranges library
Range adaptors
 
std::ranges::chunk_view
Member functions
Classes for input_ranges
Deduction guides
outer-iterator
outer-iterator::value_type
inner-iterator
iter_move(chunk_view::inner-iterator)
 
friend constexpr auto iter_move( const /*inner-iterator*/& i ) noexcept(/* see below */)
(since C++23)

Returns the result of applying ranges::iter_move to the stored inner iterator.

Let parent_ be the underlying pointer to the enclosing chunk_view, and *i.parent_->current_ denote the cached underlying iterator of type ranges::iterator_t<V>.

Equivalent to: return ranges::iter_move(*i.parent_->current_);.

This function is not visible to ordinary unqualified or qualified lookup, and can only be found by argument-dependent lookup when chunk_view::inner-iterator is an associated class of the arguments.

Contents

[edit] Parameters

i - iterator

[edit] Return value

The result of applying ranges::iter_move to the stored iterator of type ranges::iterator_t<V>.

[edit] Exceptions

noexcept specification:  
noexcept(noexcept(ranges::iter_move(*i.parent_->current_))

[edit] See also

(C++20)
casts the result of dereferencing an object to its associated rvalue reference type
(customization point object)[edit]

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant