openMSX
Namespaces | Functions
view Namespace Reference

Namespaces

 detail
 

Functions

template<typename Range >
constexpr auto drop (Range &&range, size_t n)
 
template<typename Range >
constexpr auto drop_back (Range &&range, size_t n)
 
template<typename Range >
constexpr auto reverse (Range &&range)
 
template<typename Range , typename UnaryOp >
constexpr auto transform (Range &&range, UnaryOp op)
 
template<typename Map >
constexpr auto keys (Map &&map)
 
template<typename Map >
constexpr auto values (Map &&map)
 
template<typename ForwardRange , typename Predicate >
auto filter (ForwardRange &&range, Predicate pred)
 

Function Documentation

◆ drop()

template<typename Range >
constexpr auto view::drop ( Range &&  range,
size_t  n 
)
constexpr

Definition at line 374 of file view.hh.

Referenced by TEST_CASE().

◆ drop_back()

template<typename Range >
constexpr auto view::drop_back ( Range &&  range,
size_t  n 
)
constexpr

◆ filter()

template<typename ForwardRange , typename Predicate >
auto view::filter ( ForwardRange &&  range,
Predicate  pred 
)

Definition at line 410 of file view.hh.

◆ keys()

template<typename Map >
constexpr auto view::keys ( Map &&  map)
constexpr

Definition at line 397 of file view.hh.

References t, and transform().

◆ reverse()

template<typename Range >
constexpr auto view::reverse ( Range &&  range)
constexpr

Definition at line 386 of file view.hh.

Referenced by TEST_CASE().

◆ transform()

template<typename Range , typename UnaryOp >
constexpr auto view::transform ( Range &&  range,
UnaryOp  op 
)
constexpr

◆ values()

template<typename Map >
constexpr auto view::values ( Map &&  map)
constexpr