Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::intrusive::pointer_plus_bits< boost::interprocess::offset_ptr< T, P, O, A >, NumBits > Struct Template Reference

#include <offset_ptr.hpp>

Public Types

typedef
boost::interprocess::offset_ptr
< T, P, O, A > 
pointer
 
typedef
::boost::interprocess::pointer_size_t_caster
< T * > 
caster_t
 

Static Public Member Functions

static pointer get_pointer (const pointer &n)
 
static void set_pointer (pointer &n, const pointer &p)
 
static std::size_t get_bits (const pointer &n)
 
static void set_bits (pointer &n, std::size_t b)
 

Static Public Attributes

static const std::size_t Mask = ((std::size_t(1) << NumBits) - 1) << 1u
 

Member Typedef Documentation

template<class T , class P , class O , std::size_t A, std::size_t NumBits>
typedef ::boost::interprocess::pointer_size_t_caster<T*> boost::intrusive::pointer_plus_bits< boost::interprocess::offset_ptr< T, P, O, A >, NumBits >::caster_t
template<class T , class P , class O , std::size_t A, std::size_t NumBits>
typedef boost::interprocess::offset_ptr<T, P, O, A> boost::intrusive::pointer_plus_bits< boost::interprocess::offset_ptr< T, P, O, A >, NumBits >::pointer

Member Function Documentation

template<class T , class P , class O , std::size_t A, std::size_t NumBits>
static std::size_t boost::intrusive::pointer_plus_bits< boost::interprocess::offset_ptr< T, P, O, A >, NumBits >::get_bits ( const pointer n)
inlinestatic
template<class T , class P , class O , std::size_t A, std::size_t NumBits>
static pointer boost::intrusive::pointer_plus_bits< boost::interprocess::offset_ptr< T, P, O, A >, NumBits >::get_pointer ( const pointer n)
inlinestatic
template<class T , class P , class O , std::size_t A, std::size_t NumBits>
static void boost::intrusive::pointer_plus_bits< boost::interprocess::offset_ptr< T, P, O, A >, NumBits >::set_bits ( pointer n,
std::size_t  b 
)
inlinestatic
template<class T , class P , class O , std::size_t A, std::size_t NumBits>
static void boost::intrusive::pointer_plus_bits< boost::interprocess::offset_ptr< T, P, O, A >, NumBits >::set_pointer ( pointer n,
const pointer p 
)
inlinestatic

Member Data Documentation

template<class T , class P , class O , std::size_t A, std::size_t NumBits>
const std::size_t boost::intrusive::pointer_plus_bits< boost::interprocess::offset_ptr< T, P, O, A >, NumBits >::Mask = ((std::size_t(1) << NumBits) - 1) << 1u
static

The documentation for this struct was generated from the following file: