Constructors
Declared in <bslstl_stringrefdata.h>
Create a StringRefData object having default attribute values: ` begin() == 0 end() == 0 `
StringRefData();
» more...
Create a StringRefData object from the specified view.
explicit
StringRefData(bsl::basic_string_view<CHAR_TYPE> const& view);
» more...
Create a StringRefData object with the specified begin and end attribute values. The behavior is undefined unless begin <= end and !begin == !end.
StringRefData(
CHAR_TYPE const* begin,
CHAR_TYPE const* end);
» more...
| Name | Description |
|---|---|
| view | string view providing the referenced character range |
| begin | address of the first character in the referenced range |
| end | address one past the last character in the referenced range |