bsl::basic_string<char8_t>::basic_string

Create a string that has the same value as the substring of the specified numChars length starting at the specified position in the specified original string. Optionally specify the basicAllocator used to supply memory. If basicAllocator is not specified, a default-constructed allocator is used. Throw out_of_range if position > original.length().

Synopsis

Declared in <bslstl_string.h>

basic_string(
    basic_string<char8_t> const& original,
    size_type position,
    allocator<char8_t> const& basicAllocator = ALLOCATOR());