|
inlineconstexpr |
Computes the bitwise OR of its arguments.
Defined in Header
Parameters
Return value
The value of the bitwise OR of its arguments in the type of the first one is returned.
|
is supported for two parameters, the |
operator on standard scalar types is the original one and so can lead to automatic promotion. Moreover, and due to C++ limitations is not available for floating point scalar entries.Masked Call
The call eve::bit_or[mask](x, ...)
provides a masked version of bit_or
which is equivalent to if_else(mask, bit_or(x, ...), x)
Example