btck::operator^=

Bitwise XOR-assign for a bitmask-enum value.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

template<BitmaskEnum T>
constexpr
T&
operator^=(
    T& lhs,
    T rhs);

Return Value

A reference to lhs after the operation.

Parameters

NameDescription
lhsThe value modified in place.
rhsThe bits to toggle.