[#operator_bitor-0e]
= operator&verbar;
:mrdocs:

Bitwise disjunction operators

== Synopses

Declared in `&lt;arith&lowbar;uint256&period;h&gt;`

Combine two sets of permission flags with a bitwise OR&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:NetPermissionFlags.adoc[NetPermissionFlags]
xref:operator_bitor-09.adoc[operator&verbar;](
    xref:NetPermissionFlags.adoc[NetPermissionFlags] a,
    xref:NetPermissionFlags.adoc[NetPermissionFlags] b);
----

[.small]#xref:operator_bitor-09.adoc[_» more&period;&period;&period;_]#

Bitwise OR of two flag names&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:script_verify_flags.adoc[script&lowbar;verify&lowbar;flags]
xref:operator_bitor-08.adoc[operator&verbar;](
    xref:script_verify_flag_name.adoc[script&lowbar;verify&lowbar;flag&lowbar;name] f1,
    xref:script_verify_flag_name.adoc[script&lowbar;verify&lowbar;flag&lowbar;name] f2);
----

[.small]#xref:operator_bitor-08.adoc[_» more&period;&period;&period;_]#

Bitwise OR of two flag sets&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:script_verify_flags.adoc[script&lowbar;verify&lowbar;flags]
xref:operator_bitor-06.adoc[operator&verbar;](
    xref:script_verify_flags.adoc[script&lowbar;verify&lowbar;flags] a,
    xref:script_verify_flags.adoc[script&lowbar;verify&lowbar;flags] b);
----

[.small]#xref:operator_bitor-06.adoc[_» more&period;&period;&period;_]#

Returns the bitwise OR of two big integers&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:base_uint-02.adoc[base&lowbar;uint]
xref:operator_bitor-0b.adoc[operator&verbar;](
    xref:base_uint-02.adoc[base&lowbar;uint] const& a,
    xref:base_uint-02.adoc[base&lowbar;uint] const& b);
----

[.small]#xref:operator_bitor-0b.adoc[_» more&period;&period;&period;_]#

Returns the bitwise OR of two big integers&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:base_uint-02.adoc[base&lowbar;uint&lt;256&gt;]
xref:operator_bitor-04.adoc[operator&verbar;](
    xref:base_uint-02.adoc[base&lowbar;uint&lt;256&gt;] const& a,
    xref:base_uint-02.adoc[base&lowbar;uint&lt;256&gt;] const& b);
----

[.small]#xref:operator_bitor-04.adoc[_» more&period;&period;&period;_]#

== Return Value

* The union of both flag sets&period;
* A flag set holding both flags&period;
* The union of a and b&period;
* The bitwise OR of `a` and `b&period;`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *a*
| The left&hyphen;hand flag set&period;
| *b*
| The right&hyphen;hand flag set&period;
| *f1*
| The first flag name&period;
| *f2*
| The second flag name&period;
|===


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