11template <auto First, auto Last = First>
23 template <std::
size_t amount = 1>
33 template <
typename T, EnumKind Kind>
37 if constexpr (
min >= 0 &&
max <= 2) {
48 return value >=
min && value <=
max;
T has_single_bit(T... args)
EnumKind
Definition enum/util.h:13
std::string code_for()
Definition repr:39
static constexpr bool is_binary_powers() noexcept
Definition range.h:36
static constexpr auto get
Definition range.h:21
static constexpr auto min
Definition range.h:16
static constexpr auto max
Definition range.h:17
static constexpr auto enum_names
Definition range.h:34
static constexpr auto size
Definition range.h:15
static constexpr bool contains(auto value) noexcept
Definition range.h:47