Bitwise disjunction operators
Synopses
Declared in <absl/numeric/int128.h>
Type safe OR operator for FormatConversionCharSet to allow accepting multiple conversion chars in custom format converters.
Computes the bitwise OR of two StatusToStringMode values.
constexpr
StatusToStringMode
operator|(
StatusToStringMode lhs,
StatusToStringMode rhs);
Computes the bitwise OR of two chars_format values.
constexpr
chars_format
operator|(
chars_format lhs,
chars_format rhs);
Returns the bitwise OR of lhs and rhs.
constexpr
int128
operator|(
int128 lhs,
int128 rhs);
Returns the bitwise OR of lhs and rhs.
constexpr
uint128
operator|(
uint128 lhs,
uint128 rhs);
Computes the union of two character sets.
constexpr
CharSet
operator|(
CharSet const& a,
CharSet const& b);
Return Value
-
The set union of
aandb. -
The bitwise OR of
lhsandrhs. -
The bitwise OR
lhs | rhs. -
A set with the characters present in either
aorb.
Parameters
Name |
Description |
a |
The left‐hand operand. |
b |
The right‐hand operand. |
lhs |
The left‐hand operand. |
rhs |
The right‐hand operand. |
Created with MrDocs