bsl::allocator::rebind

This nested struct template, parameterized by ANY_TYPE, provides a namespace for an other type alias, which is this template instantiated with ANY_TYPE instead of TYPE. Note that this allocator type is convertible to and from other for any type, including void.

Synopsis

Declared in <bslma_bslallocator.h>

template<class ANY_TYPE>
struct rebind;

Type Aliases

NameDescription
other Alias to allocator<ANY_TYPE>.