Return an object with the binary OR between respective bits from a and b.

Synopsis

Declared in <util/bitset.h>

constexpr
IntBitSet
operator|(
    IntBitSet const& a,
    IntBitSet const& b) noexcept;
Note

This function is a hidden friend of IntBitSet, declared only inside that class: it can be found only through argument-dependent lookup.

Return Value

The union of a and b.

Parameters

Name

Description

a

The left‐hand bitset.

b

The right‐hand bitset.

Created with MrDocs