Mjolnir Core
Core functionality of the Mjolnir API

◆ set_bit()

constexpr void set_bit ( T_Type &  integer,
UST  index 
)
constexprnoexcept

Set a single specific bit of an unsigned integer.

Template Parameters
T_TypeAn unsigned integer type
Parameters
[in,out]integerThe integer that should be modified
[in]indexThe index of the bit that should be modified