[#btck-operator_or_eq]
= xref:btck.adoc[btck]::operator&verbar;&equals;
:relfileprefix: ../
:mrdocs:

Bitwise OR&hyphen;assign for a bitmask&hyphen;enum value&period;

== Synopsis

Declared in `&lt;kernel&sol;bitcoinkernel&lowbar;wrapper&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;xref:btck/BitmaskEnum.adoc[BitmaskEnum] T&gt;
constexpr
T&
operator&verbar;&equals;(
    T& lhs,
    T rhs);
----

== Return Value

A reference to `lhs` after the operation&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *lhs*
| The value modified in place&period;
| *rhs*
| The bits to set&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
