Mjolnir Core
Core functionality of the Mjolnir API

◆ integer_to_pointer()

auto integer_to_pointer ( UPT  integer) -> T_Type*
inlinenoexcept

Turn an integer into a pointer of the chosen type.

Template Parameters
T_TypeThe pointer type
Parameters
[in]integerThe integer that should be converted
Returns
Converted pointer.
Todo:
Replace reinterpret_cast with bit_cast (requires increase of compiler version)