Spec-Zone.ru › C++

iter_move(ranges::concat_view::iterator)

friend constexpr decltype(auto)
    iter_move( const /*iterator*/& it ) noexcept(/* see description */);
(since C++26)

Returns the result of applying ranges::iter_move to the underlying iterator contained in it_ .

Let Ref be concat-rvalue-reference-t <maybe-const <Const,Views>...>. Equivalent to returnstd::visit([](constauto&i)->Ref{returnranges::iter_move(i);},it.it_ );.

If it.it_.valueless_by_exception() is true, the behavior is undefined.

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

Parameters

it - iterator

Return value

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

Exceptions

noexcept specification:
noexcept(
    ((std::is_nothrow_invocable_v
          <decltype(ranges::iter_move),
           const ranges::iterator_t</*maybe-const*/<Const, Views>>&> &&
      std::is_nothrow_convertible_v<ranges::range_rvalue_reference_t
                                        </*maybe-const*/<Const, Views>>, Ref>) && ...)
)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/cpp/ranges/concat_view/iterator/iter_move

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API