[#btck-operator_and_eq] = xref:btck.adoc[btck]::operator&= :relfileprefix: ../ :mrdocs: Bitwise AND‐assign for a bitmask‐enum value. == Synopsis Declared in `<kernel/bitcoinkernel_wrapper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<xref:btck/BitmaskEnum.adoc[BitmaskEnum] T> constexpr T& operator&=( T& lhs, T rhs); ---- == Return Value A reference to `lhs` after the operation. == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | The value modified in place. | *rhs* | The bit mask to keep. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#