Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class template aligned_allocator<void, Alignment>

boost::alignment::aligned_allocator<void, Alignment>

Synopsis

// In header: <boost/align/aligned_allocator.hpp>

template<std::size_t Alignment> 
class aligned_allocator<void, Alignment> {
public:
  // types
  typedef void         value_type;   
  typedef void *       pointer;      
  typedef const void * const_pointer;

  // member classes/structs/unions
  template<typename U> 
  struct rebind {
    // types
    typedef aligned_allocator< U, Alignment > other;
  };
};

Description

Class template aligned_allocator specialization.


PrevUpHomeNext