Namespaces
Variants
Actions

iter_move(ranges::adjacent_view::iterator)

From cppreference.com
< cpp‎ | ranges‎ | adjacent view‎ | iterator
 
 
Ranges library
 
std::ranges::adjacent_view
iter_move(adjacent_view::iterator)
Member functions
Non-member functions
 
friend constexpr auto iter_move( const /*iterator*/& i )
    noexcept(/* see description */);
(since C++23)

Returns the result of applying ranges::iter_move to the underlying iterators.

Equivalent to: return /*tuple-transform*/(ranges::iter_move, i.current_);, where current_ is an underlying array of iterators.

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

[edit] Parameters

i - iterator

[edit] Return value

The result of applying ranges::iter_move to the underlying iterators.

[edit] Exceptions

noexcept specification:  
noexcept(

  noexcept(ranges::iter_move (declval<const ranges::iterator_t <Base>&>()))
  &&
  std::is_nothrow_move_constructible_v <ranges::range_rvalue_reference_t <Base>>

)

[edit] See also

(C++20)
casts the result of dereferencing an object to its associated rvalue reference type
(customization point object)[edit]
Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/ranges/adjacent_view/iterator/iter_move&oldid=172678"

AltStyle によって変換されたページ (->オリジナル) /