[#bsl-_Alloc_traits] = xref:bsl.adoc[bsl]::_Alloc_traits :relfileprefix: ../ :mrdocs: Traits for rebinding STLPort allocators to a different value type. == Synopsis Declared in `<bslstp_alloc.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class _Tp, class _Allocator> struct _Alloc_traits; ---- == Type Aliases [cols="1,4"] |=== | Name| Description | xref:bsl/_Alloc_traits/_Orig.adoc[`_Orig`] | Original allocator type supplied to this traits class. | xref:bsl/_Alloc_traits/_Rebind_type.adoc[`_Rebind_type`] | Rebound allocator type for objects of type `_Tp`. | xref:bsl/_Alloc_traits/allocator_type.adoc[`allocator_type`] | Allocator type used by containers rebound to `_Tp`. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:bsl/_Alloc_traits/create_allocator.adoc[`create_allocator`] | Create an allocator of type `allocator_type` from the specified `__a`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#