Logical operations
Functions | |
template<logical_value Mask, value Value> | |
void | eve::swap_if (Mask const &mask, Value &lhs, Value &rhs) noexcept |
Conditional swap. | |
Variables | |
constexpr auto | eve::if_else = functor<if_else_t> |
Select value based on conditional mask or values. | |
constexpr auto | eve::logical_and = functor<logical_and_t> |
strict_elementwise_callable computing the logical AND of its arguments. | |
constexpr auto | eve::logical_andnot = functor<logical_andnot_t> |
Computes the logical ANDNOT of its arguments. | |
constexpr auto | eve::logical_not = functor<logical_not_t> |
Computes the logical NOT of its argument. | |
constexpr auto | eve::logical_notand = functor<logical_notand_t> |
Computes the logical NOTAND of its arguments. | |
constexpr auto | eve::logical_notor = functor<logical_notor_t> |
Computes the logical NOTOR of its arguments. | |
constexpr auto | eve::logical_or = functor<logical_or_t> |
Computes the logical OR of its arguments. | |
constexpr auto | eve::logical_ornot = functor<logical_ornot_t> |
Computes the logical ORNOT of its arguments. | |
constexpr auto | eve::logical_xor = functor<logical_xor_t> |
Computes the logical XOR of its arguments. | |
constexpr callable_replace_ignored_ | eve::replace_ignored = {} |
A small helper to replace ignored values. | |