VCCC  2024.05
VisualCamp Common C++ library
ranges::values_view, views::values

takes a view consisting of tuple-like values and produces a view of the second elements of each tuple More...

Detailed Description

Takes a view of tuple-like values (e.g. std::tuple or std::pair), and produces a view with a value-type of the second element of the adapted view's value-type.

See also
std::views::values_view

Typedefs

template<typename R >
using values_view = elements_view< R, 1 >
 An alias for ranges::elements_view<R, 0> More...
 

Typedef Documentation

◆ values_view

using values_view = elements_view<R, 1>