Create a basic_string object.
Synopsis
Declared in <bslstl_string.h>
template<class STRING_VIEW_LIKE_TYPE>
explicit
basic_string(STRING_VIEW_LIKE_TYPE const& object);
Description
Create a string that has the same value as the specified object. Optionally specify a basicAllocator used to supply memory. If basicAllocator is not specified, then a default‐constructed allocator is used.
Parameters
Name |
Description |
object |
source object providing characters |
Created with MrDocs