VCCC  2024.05
VisualCamp Common C++ library
ranges::keys_view, views::keys

takes a view consisting of tuple-like values and produces a view of the first elements of each pair 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 first element of the adapted view's value-type.

See also
std::views::keys_view

Typedefs

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

Typedef Documentation

◆ keys_view

using keys_view = elements_view<R, 0>