Boost C++ Libraries

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

Struct template rebind
PrevUpHomeNext

Struct template rebind

boost::pool_allocator::rebind — Nested class rebind allows for transformation from pool_allocator to pool_allocator.

Synopsis

// In header: <boost/pool/pool_alloc.hpp>



// Nested class rebind allows for transformation from pool_allocator to
// pool_allocator.
template<typename U> 
struct rebind {
  // types
  typedef pool_allocator< U, UserAllocator, Mutex, NextSize, MaxSize > other;
};

Description

Nested class rebind allows for transformation from pool_allocator to pool_allocator via the member typedef other.


PrevUpHomeNext