Mjolnir Core
Core functionality of the Mjolnir API

◆ pointer_to_integer()

auto pointer_to_integer ( const volatile T_Type *  pointer) -> UPT
inlinenoexcept

Turn a pointer into an integer.

Template Parameters
T_TypeThe pointer type
Parameters
[in]pointerPointer that should be converted
Returns
Integer representation of the pointer
Todo:
Replace reinterpret_cast with bit_cast (requires increase of compiler version)