11template<concepts::Integral T>
14 return value == other;
20template<concepts::Integral T>
30template<concepts::Integral T,
size_t N>
41template<concepts::Integral T,
size_t N>
50template<concepts::Integral T>
55template<concepts::Integral T>
60template<concepts::Integral T,
size_t N>
65template<concepts::Integral T>
70template<concepts::Integral T>
75template<concepts::Integral T>
80template<concepts::Integral T>
85template<concepts::Integral T>
90template<concepts::Integral T,
size_t N>
95template<concepts::Integral T,
size_t N>
100template<concepts::Integral T,
size_t N>
105template<concepts::Integral T,
size_t N>
110template<concepts::Integral T,
size_t N1,
size_t N2>
124inline namespace literals {
127#define DI_DEFINE_INTEGRAL_OP(input_kind, output_kind, name) \
128 constexpr auto operator"" name(input_kind value) { \
129 return parser::MatchOne<output_kind> { (output_kind) (value) }; \
137#undef DI_DEFINE_INTEGRAL_OP
142#if !defined(DI_NO_GLOBALS) && !defined(DI_NO_GLOBAL_INTEGRAL_SET_LITERALS)
#define DI_DEFINE_INTEGRAL_OP(input_kind, output_kind, name)
Definition integral_set.h:127
constexpr auto any_of
Definition any_of.h:24
constexpr auto unpack
Definition unpack.h:24
Definition integral_set.h:125
Definition zstring_parser.h:9
constexpr auto operator||(MatchOne< T > a, MatchOne< T > b)
Definition integral_set.h:71
constexpr auto operator~(Parser &&parser)
Definition ignore.h:21
constexpr auto operator-(Parser &&parser)
Definition optional.h:45
char32_t c32
Definition char.h:6
constexpr auto get(T &&value) -> decltype(auto)
Definition get.h:8
Definition zstring_parser.h:9
Definition integral_set.h:31
constexpr auto operator()(concepts::ThreeWayComparableWith< T > auto const &other) const -> bool
Definition integral_set.h:32
Array< MatchRange< T >, N > ranges
Definition integral_set.h:38
Definition integral_set.h:42
constexpr auto operator()(concepts::ThreeWayComparableWith< T > auto const &other) const -> bool
Definition integral_set.h:43
IntegralSet< T, N > set
Definition integral_set.h:47
Definition integral_set.h:12
constexpr auto operator()(concepts::ThreeWayComparableWith< T > auto const &other) const -> bool
Definition integral_set.h:13
T value
Definition integral_set.h:17
Definition integral_set.h:21
T lower
Definition integral_set.h:26
T upper_inclusive
Definition integral_set.h:27
constexpr auto operator()(concepts::ThreeWayComparableWith< T > auto const &other) const -> bool
Definition integral_set.h:22
Definition span_fixed_size.h:37