Return the allocator used by this string to supply memory.
Declared in <bslstl_string.h>
<bslstl_string.h>
allocator_type get_allocator() const noexcept;