# iter_move(ranges::concat_view::iterator)

> C++ Atlas: `cppatlas.com/w/cpp/ranges/concat_view/iterator/iter_move` | Source: https://en.cppreference.com/w/cpp/ranges/concat_view/iterator/iter_move | Domain: Ranges | Standards: C++26

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

## Official Specification Summary (cppreference)

```cpp
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 `return std::visit([](const auto& i) -> Ref { return ranges::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>) &&...))`

---
Attribution: content from https://en.cppreference.com/w/cpp/ranges/concat_view/iterator/iter_move (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.