Iros
 
Loading...
Searching...
No Matches
integral_set.h File Reference

Go to the source code of this file.

Classes

struct  di::parser::MatchOne< T >
 
struct  di::parser::MatchRange< T >
 
struct  di::parser::IntegralSet< T, N >
 
struct  di::parser::InvertedIntegralSet< T, N >
 

Namespaces

namespace  di
 
namespace  di::parser
 
namespace  di::literals
 
namespace  di::literals::integral_set_literals
 

Macros

#define DI_DEFINE_INTEGRAL_OP(input_kind, output_kind, name)
 

Functions

template<concepts::Integral T>
constexpr auto di::parser::operator~ (MatchOne< T > value)
 
template<concepts::Integral T>
constexpr auto di::parser::operator~ (MatchRange< T > value)
 
template<concepts::Integral T, size_t N>
constexpr auto di::parser::operator~ (IntegralSet< T, N > value)
 
template<concepts::Integral T>
constexpr auto di::parser::operator- (MatchOne< T > a, MatchOne< T > b)
 
template<concepts::Integral T>
constexpr auto di::parser::operator|| (MatchOne< T > a, MatchOne< T > b)
 
template<concepts::Integral T>
constexpr auto di::parser::operator|| (MatchOne< T > a, MatchRange< T > b)
 
template<concepts::Integral T>
constexpr auto di::parser::operator|| (MatchRange< T > a, MatchOne< T > b)
 
template<concepts::Integral T>
constexpr auto di::parser::operator|| (MatchRange< T > a, MatchRange< T > b)
 
template<concepts::Integral T, size_t N>
constexpr auto di::parser::operator|| (IntegralSet< T, N > a, MatchOne< T > b)
 
template<concepts::Integral T, size_t N>
constexpr auto di::parser::operator|| (MatchOne< T > a, IntegralSet< T, N > b)
 
template<concepts::Integral T, size_t N>
constexpr auto di::parser::operator|| (IntegralSet< T, N > a, MatchRange< T > b)
 
template<concepts::Integral T, size_t N>
constexpr auto di::parser::operator|| (MatchRange< T > a, IntegralSet< T, N > b)
 
template<concepts::Integral T, size_t N1, size_t N2>
constexpr auto di::parser::operator|| (IntegralSet< T, N1 > a, IntegralSet< T, N2 > b)
 

Macro Definition Documentation

◆ DI_DEFINE_INTEGRAL_OP

#define DI_DEFINE_INTEGRAL_OP ( input_kind,
output_kind,
name )
Value:
constexpr auto operator"" name(input_kind value) { \
return parser::MatchOne<output_kind> { (output_kind) (value) }; \
}