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)
 

Function Documentation

◆ drop()

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

Definition at line 288 of file view.hh.

Referenced by TEST_CASE().

◆ drop_back()

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

◆ keys()

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

Definition at line 311 of file view.hh.

References t, and transform().

Referenced by openmsx::EnumSettingBase::getPossibleValues().

◆ reverse()

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

Definition at line 300 of file view.hh.

Referenced by TEST_CASE(), and openmsx::HardwareConfig::testRemove().

◆ 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