|
Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
|
Public Member Functions | |
| Result (T value, bool overflowed) | |
| Result (T value, OverflowKind overflowed) | |
| bool | operator== (Result other) const |
| std::optional< T > | valueChecked () const |
| T | valueWrapping () const |
| bool | overflowed () const |
| bool | divideByZero () const |
|
inline |
Returns the result as if the arithmetic were performed as wrapping arithmetic.
| DivideByZero | if the operation was a divide by zero. |