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< Pointer, NumBits > Struct Template Reference

This is class that is supposed to have static methods to embed extra bits of information in a pointer. More...

#include <pointer_plus_bits.hpp>

Detailed Description

template<class Pointer, std::size_t NumBits>
struct boost::intrusive::pointer_plus_bits< Pointer, NumBits >

This is class that is supposed to have static methods to embed extra bits of information in a pointer.

This is a declaration and there is no default implementation, because operations to embed the bits change with every pointer type.

An implementation that detects that a pointer type whose has_pointer_plus_bits<>::value is non-zero can make use of these operations to embed the bits in the pointer.


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