xte::big_int::operator~()

Defined in header <xte/math/big_int.hpp>


Definition

[[nodiscard]] constexpr xte::big_int operator~(this auto&&) noexcept(false);
Flips every bit. May throw if allocation fails.



Example

static_assert(~xte::big_int(10) == ~10);
[View in Compiler Explorer]