![]() |
ATLAS Offline Software
|
Helpers for converting between uintptr_t and a pointer or integer. More...
#include <UIntConv.h>
Public Types | |
| using | uint_t = typename SizedUInt<sizeof(T)>::type |
Static Public Member Functions | |
| static uintptr_t | valToUInt (T x) |
| Convert a T to a uintptr_t. | |
| static T | uintToVal (uintptr_t ui) |
| Convert a uintptr_t to a T. | |
Helpers for converting between uintptr_t and a pointer or integer.
Definition at line 38 of file UIntConv.h.
| using CxxUtils::detail::UIntConv< T >::uint_t = typename SizedUInt<sizeof(T)>::type |
Definition at line 41 of file UIntConv.h.
|
inlinestatic |
Convert a uintptr_t to a T.
Definition at line 59 of file UIntConv.h.
|
inlinestatic |
Convert a T to a uintptr_t.
Definition at line 50 of file UIntConv.h.