Create a string and insert (in order) each CHAR_TYPE object in the specified values initializer list. Optionally specify a basicAllocator used to supply memory. If basicAllocator is not specified, then a default‐constructed allocator is used.

Synopsis

Declared in <bslstl_string.h>

basic_string(
    std::initializer_list<char16_t> values,
    allocator<char16_t> const& basicAllocator = ALLOCATOR());

Created with MrDocs