This is the specialization to embed extra bits of information in a raw pointer. More...
#include <pointer_plus_bits.hpp>
Public Types | |
typedef T * | pointer |
Static Public Member Functions | |
static pointer | get_pointer (pointer n) |
static void | set_pointer (pointer &n, pointer p) |
static std::size_t | get_bits (pointer n) |
static void | set_bits (pointer &n, std::size_t c) |
Static Public Attributes | |
static const std::size_t | Mask = ((std::size_t(1u) << NumBits) - 1) |
This is the specialization to embed extra bits of information in a raw pointer.
The extra bits are stored in the lower bits of the pointer.
typedef T* boost::intrusive::pointer_plus_bits< T *, NumBits >::pointer |
|
inlinestatic |
|
inlinestatic |
References T.
|
inlinestatic |
|
inlinestatic |
|
static |