btck::operator&

Bitwise AND 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 are the intersection of both operands.

Parameters

NameDescription
lhsThe left operand.
rhsThe right operand.