[#bsl-basic_string-0ce-2constructor-0e] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-0ce.adoc[basic_string<char16_t>]::basic_string :relfileprefix: ../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- basic_string( std::initializer_list<char16_t> values, xref:bsl/allocator-0df.adoc[allocator<char16_t>] const& basicAllocator = ALLOCATOR()); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#