E.V.E
v2022.09.01
Logical operations

Detailed Description

Logical operations

Concepts

concept  eve::conditional_expr
 Specifies that a type is a Conditional Expression.
 
concept  eve::relative_conditional_expr
 Specifies that a type is a Conditional Expression using relative mask.
 

Functions

template<logical_value Mask, value Value>
void eve::swap_if (Mask const &mask, Value &lhs, Value &rhs) noexcept
 Conditional swap. More...
 

Variables

constexpr callable_if_else_ eve::if_else = {}
 Computes the results of a choice under condition. More...
 
constexpr callable_ifnot_else_ eve::ifnot_else = {}
 eve::ifnot_else(x, y, z)syntaxic sugar for eve::if_else(x, z, y) More...
 
constexpr callable_logical_and_ eve::logical_and = {}
 Computes the logical AND of its arguments. More...
 
constexpr callable_logical_andnot_ eve::logical_andnot = {}
 Computes the logical ANDNOT of its arguments. More...
 
constexpr callable_logical_not_ eve::logical_not = {}
 Computes the logical NOT of its argument. More...
 
constexpr callable_logical_notand_ eve::logical_notand = {}
 Computes the logical NOTAND of its arguments. More...
 
constexpr callable_logical_notor_ eve::logical_notor = {}
 Computes the logical NOTOR of its arguments. More...
 
constexpr callable_logical_or_ eve::logical_or = {}
 Computes the logical OR of its arguments. More...
 
constexpr callable_logical_ornot_ eve::logical_ornot = {}
 Computes the logical ORNOT of its arguments. More...
 
constexpr callable_logical_xor_ eve::logical_xor = {}
 Computes the logical XOR of its arguments. More...