Namespaces
Variants
Views
Actions

std::ranges::transform_view<V,F>::iterator<Const>::base

From cppreference.com
 
 
 
 
constexpr ranges::iterator_t<Base> base() const &
  requires std::copyable<ranges::iterator_t<Base>>;
(1) (since C++20)
constexpr ranges::iterator_t<Base> base() &&;
(2) (since C++20)

Returns a copy of the underlying iterator.

1) Copy constructs the result from the underlying iterator.
2) Move constructs the result from the underlying iterator.

[edit] Parameters

(none)

[edit] Return value

A copy of the underlying iterator.

[edit] Example