std::ranges::enumerate_view<V>::base

From cppreference.com
 
 
Ranges library
Range access
Range conversions
(哋它亢++23)(哋它亢++23)
(哋它亢++23)

Range primitives
(哋它亢++23)(哋它亢++23)    
(哋它亢++23)



Dangling iterator handling
Range concepts
Views

Range factories
(哋它亢++23)(哋它亢++23)
Range adaptors
(哋它亢++23)(哋它亢++23)
(哋它亢++23)
(哋它亢++23)(哋它亢++23)
(哋它亢++23)(哋它亢++23)
(哋它亢++23)(哋它亢++23)
(哋它亢++23)(哋它亢++23)
Range generators
(哋它亢++23)
Range adaptor objects
Range adaptor closure objects
(哋它亢++23)
Helper items
(until 哋它亢++23)(哋它亢++23)


 
 
constexpr V base() const& requires std::copy_constructible<V>;
(1) (since 哋它亢++23)
constexpr V base() &&;
(2) (since 哋它亢++23)

Returns a copy of the underlying view.

1) Copy constructs the result from the underlying view. Equivalent to return base_;
2) Move constructs the result from the underlying view. Equivalent to return std::move(base_);

Parameters

(none)

Return value

A copy of the underlying view.

Example