repr 0.1
Reconstructable string representations and more
|
#include <range_list.h>
Public Types | |
template<auto Index> | |
using | add = RangeList< Range< Index > > |
template<typename T > | |
using | add_range = RangeList< T > |
template<typename T , auto V, auto Idx = V> | |
using | try_one = std::conditional_t< is_enum_value< T, V >(), add< Idx >, RangeList > |
using | map = RangeList< F< Ts >... > |
using | map_t = RangeList< typename F< Ts >::type... > |
using | get = typename pack::Split< Idx, RangeList< Ts... > >::type |
using | split = RangeList< typename do_split< Idx >::head, typename do_split< Idx >::tail > |
using | head = typename do_split< Idx >::head |
using | tail = typename do_split< Idx >::tail |
using | append = RangeList< Ts..., T > |
using | prepend = RangeList< T, Ts... > |
using | to = T< Ts... > |
Static Public Member Functions | |
static constexpr bool | is_binary_powers () |
static constexpr decltype(auto) | invoke (F &&callable, Args &&... args) |
static constexpr void | for_each (F &&callable, Args &&... args) |
static constexpr void | enumerate (F &&callable, Args &&... args) |
Static Public Attributes | |
static constexpr auto | full_size = 0 |
static constexpr std::size_t | size |
using librepr::ctei::RangeList<>::add = RangeList<Range<Index> > |
using librepr::ctei::RangeList<>::add_range = RangeList<T> |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
using librepr::ctei::RangeList<>::try_one = std::conditional_t<is_enum_value<T, V>(), add<Idx>, RangeList> |
|
inlinestaticconstexprinherited |
|
inlinestaticconstexprinherited |
|
inlinestaticconstexprinherited |
|
inlinestaticconstexpr |
|
staticconstexpr |
|
staticconstexprinherited |