Bitwise AND‐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

Name

Description

lhs

The value modified in place.

rhs

The bit mask to keep.

Created with MrDocs