libUTL++
|
#include <PointerIntPair.h>
Public Member Functions | |
void | set (PtrT ptr, IntT val) |
Set pointer & value. More... | |
Pointer Value Accessors | |
auto | getPointer () const |
void | setPointer (PtrT ptr) |
Integer Value Accessors | |
auto | getInt () const |
void | setInt (IntT val) |
Public Member Functions inherited from utl::PointerIntPairBase | |
auto | get () const |
Get raw value. More... | |
void | serialize (Stream &stream, uint_t io, uint_t mode=ser_default) |
Don't try to serialize. More... | |
bool | operator< (const PointerIntPairBase &rhs) const |
bool | operator<= (const PointerIntPairBase &rhs) const |
bool | operator== (const PointerIntPairBase &rhs) const |
bool | operator> (const PointerIntPairBase &rhs) const |
bool | operator>= (const PointerIntPairBase &rhs) const |
(Pointer,Int) pair.
Use available low-order bits in pointer-like values to store small integer values. The alignment of the pointed-to object determines how many bits are available for use.
Definition at line 116 of file PointerIntPair.h.
|
inline |