A string cannot be constructed from a null pointer.
Synopsis
Declared in <bslstl_string.h>
basic_string(bsl::nullptr_t unused) = delete;
Description
A string cannot be constructed from a nullptr or from a literal 0.
Parameters
Name |
Description |
unused |
unused; this constructor is deleted |
Created with MrDocs