VCCC  2024.05
VisualCamp Common C++ library
ranges::single_view, views::single

a view that contains a single element of a specified value More...

Detailed Description

Produces a view that contains exactly one element of a specified value.

The lifetime of the element is bound to the parent single_view. Copying single_view makes a copy of the element.

See also
std::ranges::single_view

Classes

class  single_view< T >
 

Variables

constexpr VCCC_INLINE_OR_STATIC detail::single_niebloid single {}
 

Variable Documentation

◆ single

constexpr VCCC_INLINE_OR_STATIC detail::single_niebloid single {}
constexpr