btck::operator^

Bitwise XOR of two bitmask-enum values.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

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

Return Value

The enum value whose bits differ between the operands.

Parameters

NameDescription
lhsThe left operand.
rhsThe right operand.