Create a string having the same value as the specified original.
Synopsis
Declared in <bslstl_string.h>
basic_string(basic_string const& original);
Description
Create a string that has the same value as the specified original string. Use the allocator returned by 'bsl::allocator_traits<ALLOCATOR>:: select_on_container_copy_construction(original.get_allocator())' to supply memory.
Parameters
Name |
Description |
original |
string whose value is copied |
Created with MrDocs