repr 0.1
Reconstructable string representations and more
|
#include <search.h>
Public Types | |
using | underlying = std::underlying_type_t< T > |
template<underlying Offset, underlying Max, typename Acc = RangeList<>> | |
using | search_recursive = decltype(search_range< Offset, Max, Acc >()) |
template<underlying Offset, underlying Max, typename Acc = RangeList<>> | |
using | search_chunked = decltype(rangify< search_chunk< Offset, Offset+Max >(), Offset, Acc >()) |
template<underlying Offset, underlying Max, typename Acc = RangeList<>> | |
using | search_fast = decltype(rangify< search_chunk_multi< Offset, Offset+Max >(), Offset, Acc >()) |
template<underlying Offset, underlying Max, typename Acc = RangeList<>> | |
using | do_search = search_chunked< Offset, Max, Acc > |
Static Public Member Functions | |
template<underlying Offset, underlying Max> | |
static constexpr auto | search_chunk () |
template<underlying Offset, underlying Max> | |
static constexpr auto | search_chunk_multi () |
template<underlying Offset, underlying Max, typename Acc = RangeList<>, underlying N = 0> | |
static consteval auto | search_range () |
template<auto Offset, auto Max, auto ChunkSize = REPR_ENUM_CHUNKSIZE, typename Acc = RangeList<>, auto N = 0> | |
static consteval auto | search_ranges () |
static consteval auto | reflected_min () |
static consteval auto | reflected_max () |
template<underlying Max = std::numeric_limits<underlying>::digits - 1> | |
static constexpr int | largest_flag_multi () |
template<underlying Max = std::numeric_limits<underlying>::digits - 1> | |
static constexpr int | largest_flag_chunk () |
template<auto N = std::numeric_limits<underlying>::digits - 1> requires std::is_unsigned_v<underlying> | |
static consteval int | largest_flag () |
static consteval auto | search () |
using librepr::ctei::Search< T >::do_search = search_chunked<Offset, Max, Acc> |
using librepr::ctei::Search< T >::search_chunked = decltype(rangify<search_chunk<Offset, Offset + Max>(), Offset, Acc>()) |
using librepr::ctei::Search< T >::search_fast = decltype(rangify<search_chunk_multi<Offset, Offset + Max>(), Offset, Acc>()) |
using librepr::ctei::Search< T >::search_recursive = decltype(search_range<Offset, Max, Acc>()) |
using librepr::ctei::Search< T >::underlying = std::underlying_type_t<T> |
|
inlinestatic |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestatic |
|
inlinestatic |