Set overloads

Synopses

Declared in <util/bitset.h>

Set a bit to 1.

constexpr
void
Set(unsigned int pos) noexcept;

Set a bit to the specified value.

constexpr
void
Set(
    unsigned int pos,
    bool val) noexcept;

Parameters

Name

Description

pos

The bit position to set.

val

The value to assign to the bit.

Created with MrDocs