15 template <
typename ExpSet>
18 const typename ExpSet::value_t& lhs,
19 const typename ExpSet::value_t& rhs)
21 return rs.less(lhs, rhs);
29 template <
typename ExpSet1,
typename ExpSet2>
33 const auto& l = lhs->as<ExpSet1>();
34 const auto&
r = rhs->as<ExpSet2>();
35 auto rs =
join(l.expressionset(), r.expressionset());
36 auto lr = rs.conv(l.expressionset(), l.expression());
37 auto rr = rs.conv(r.expressionset(), r.expression());
Provide a variadic mul on top of a binary mul(), and one().
bool less_than_expression(const expression &lhs, const expression &rhs)
Bridge (less_than).
std::shared_ptr< detail::expression_base > expression
bool less_than(const ExpSet &rs, const typename ExpSet::value_t &lhs, const typename ExpSet::value_t &rhs)
Whether lhs precedes rhs.
context join(const context &c1, const context &c2)
Bridge.