28 static auto res =
symbol{
"b"};
169 sname(),
": invalid value: ", i);
173 raise(
sname(),
": invalid value: ",
is);
181 o << (v ?
"\\top" :
"\\bot");
183 o << (v ?
'1' :
'0');
static value_t conv(std::istream &is, bool=true)
Print as rich UTF-8 text, escaped.
static value_t rgcd(const value_t l, const value_t r)
static value_t add(const value_t l, const value_t r)
auto hash_value(const T &v) -> decltype(std::hash< T >
Following the naming convention of Boost.
static constexpr bool is_commutative()
void require(Bool b, Args &&...args)
If b is not verified, raise an error with args as message.
static bool is_one(const value_t v)
Print as is. For instance, don't try to escape labels.
weightset_mixin< detail::r_impl > r
static value_t rdiv(const value_t l, const value_t r)
An input/output format for valuesets.
char eat(std::istream &is, char c)
Check lookahead character and advance.
Provide a variadic mul on top of a binary mul(), and one().
static value_t mul(const value_t l, const value_t r)
static constexpr bool show_one()
static constexpr star_status_t star_status()
static value_t star(const value_t)
static value_t lgcd(const value_t l, const value_t r)
boost::flyweight< std::string, boost::flyweights::no_tracking, boost::flyweights::intermodule_holder > symbol
An internalized string.
static value_t ldiv(const value_t l, const value_t r)
Print as plain (ASCII) text, escaped.
std::ostream & print_set(std::ostream &o, format fmt={}) const
static bool equal(const value_t l, const value_t r)
static b make(std::istream &is)
Build from the description in is.
static constexpr bool has_lightening_weights()
std::istringstream is
The input stream: the specification to translate.
static constexpr bool is_special(const value_t)
Print as a parsable type string.
static value_t sub(const value_t l, const value_t r)
static value_t transpose(const value_t v)
static constexpr bool is_idempotent()
static bool less(const value_t lhs, const value_t rhs)
Whether lhs < rhs.
static std::ostream & print(const value_t v, std::ostream &o, format fmt={})
static value_t conv(self_t, const value_t v)
static size_t hash(const value_t v)
static bool is_zero(const value_t v)
weightset_mixin< detail::b_impl > b