|
| 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 |
|
◆ valueWrapping()
T Result::valueWrapping |
( |
| ) |
const |
|
inline |
Returns the result as if the arithmetic were performed as wrapping arithmetic.
- Exceptions
-
DivideByZero | if the operation was a divide by zero. |
The documentation for this class was generated from the following file:
- /home/buildozer/aports/community/nix/src/nix-2.26.3/src/libexpr/lexer.l