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

This is the documentation for a snapshot of the master branch, built from commit 41728d1a0f.
PrevUpHomeNext
allocator_binder::allocator_binder (4 of 9 overloads)

Construct a copy of a different allocator wrapper type.

template<
    typename U,
    typename OtherAllocator>
allocator_binder(
    const allocator_binder< U, OtherAllocator > & other,
    constraint_t< is_constructible< Allocator, OtherAllocator >::value >  = 0,
    constraint_t< is_constructible< T, U >::value >  = 0);

This constructor is only valid if the Allocator type is constructible from type OtherAllocator, and the type T is constructible from type U.


PrevUpHomeNext