Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.

Struct template max_pointer_plus_bits<void *, Alignment>

boost::intrusive::max_pointer_plus_bits<void *, Alignment>


template<std::size_t Alignment> 
struct max_pointer_plus_bits<void *, Alignment> {
  static const std::size_t value;


This is a specialization for raw pointers. Raw pointers can embed extra bits in the lower bits if the alignment is multiple of 2pow(NumBits).