This class is an intermediate link between bslstl::StringRef used in BDE and bsl::string_view and is kept only for compatibility with legacy code.
Declared in <bslstl_stringrefdata.h>
template<class CHAR_TYPE>
class StringRefData
: public bsl::basic_string_view<CHAR_TYPE>
| Name | Description |
|---|---|
bsl::basic_string_view<CHAR_TYPE> | A non-owning reference to a string. |
| Name | Description |
|---|---|
size_type | This typedef is an alias to std::size_t. |
| Name | Description |
|---|---|
StringRefData [constructor] | Constructors |
operator BloombergLP::bslmf::NestedTraitDeclaration<StringRefData, is_trivially_copyable> | Nested trait declaration for bsl::is_trivially_copyable. |
| Name | Description |
|---|---|
cStringLength | Return the number of CHAR_TYPE characters in the specified null-terminated data string, up to but not including the terminal null value. |
| Name | Description |
|---|---|
StringRefImp | Provide a non-owning reference to a contiguous character sequence. |