[#absl-operator_bitor-0c]
= xref:absl.adoc[absl]::operator&verbar;
:relfileprefix: ../
:mrdocs:

Bitwise disjunction operators

== Synopses

Declared in `&lt;absl&sol;numeric&sol;int128&period;h&gt;`

Type safe OR operator for FormatConversionCharSet to allow accepting multiple conversion chars in custom format converters&period;


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

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

Computes the bitwise OR of two `StatusToStringMode` values&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:absl/StatusToStringMode.adoc[StatusToStringMode]
xref:absl/operator_bitor-08c.adoc[operator&verbar;](
    xref:absl/StatusToStringMode.adoc[StatusToStringMode] lhs,
    xref:absl/StatusToStringMode.adoc[StatusToStringMode] rhs);
----

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

Computes the bitwise OR of two chars&lowbar;format values&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:absl/chars_format.adoc[chars&lowbar;format]
xref:absl/operator_bitor-03.adoc[operator&verbar;](
    xref:absl/chars_format.adoc[chars&lowbar;format] lhs,
    xref:absl/chars_format.adoc[chars&lowbar;format] rhs);
----

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

Returns the bitwise OR of `lhs` and `rhs`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:absl/int128.adoc[int128]
xref:absl/operator_bitor-04.adoc[operator&verbar;](
    xref:absl/int128.adoc[int128] lhs,
    xref:absl/int128.adoc[int128] rhs);
----

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

Returns the bitwise OR of `lhs` and `rhs`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:absl/uint128.adoc[uint128]
xref:absl/operator_bitor-086.adoc[operator&verbar;](
    xref:absl/uint128.adoc[uint128] lhs,
    xref:absl/uint128.adoc[uint128] rhs);
----

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

Computes the union of two character sets&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:absl/CharSet.adoc[CharSet]
xref:absl/operator_bitor-0d.adoc[operator&verbar;](
    xref:absl/CharSet.adoc[CharSet] const& a,
    xref:absl/CharSet.adoc[CharSet] const& b);
----

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

== Return Value

* The set union of `a` and `b`&period;
* The bitwise OR of `lhs` and `rhs`&period;
* The bitwise OR `lhs &verbar; rhs`&period;
* A set with the characters present in either `a` or `b`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *a*
| The left&hyphen;hand operand&period;
| *b*
| The right&hyphen;hand operand&period;
| *lhs*
| The left&hyphen;hand operand&period;
| *rhs*
| The right&hyphen;hand operand&period;
|===


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