Mjolnir Core
Core functionality of the Mjolnir API

◆ set_bit_to()

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

Set a single bit of an unsigned integer to the specified value.

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