Create a basic_string object.
Declared in <bslstl_string.h>
explicit
basic_string(ALLOCATOR const& basicAllocator) noexcept;
Create an empty string. Optionally specify the basicAllocator used to supply memory. If basicAllocator is not specified, a default-constructed allocator is used.
| Name | Description |
|---|---|
| basicAllocator | allocator used to supply memory |