Metafunction that rebinds an allocator type to a different value type.
Declared in <bslma_allocatortraits.h>
template<
class T,
class U,
class = void>
struct AllocatorTraits_RebindAlloc;
Should be pointer_traits::rebind of template above.
| Name | Description |
|---|---|
type | Rebound allocator type obtained via AllocatorTraits_RebindFront. |
| Name | Description |
|---|---|
AllocatorTraits_RebindAlloc<T, U, bsl::void_t<T::rebind<U>::other>> | Specialization for allocators that define a nested rebind<U>::other. |