Set a bit to the specified value.

Synopsis

Declared in <util/bitset.h>

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

Parameters

Name

Description

pos

The bit position to modify.

val

The value to assign to the bit.

Created with MrDocs