Go to the documentation of this file.
7 #ifndef STRING_REF_SSO_H
8 #define STRING_REF_SSO_H
63 explicit StringRef(
const char* data_ptr,
size_t length)
70 memcpy(
_storage.sso.data, data_ptr, length);
95 #endif // STRING_REF_SSO_H
span_CONFIG_SIZE_TYPE size_t
Super simple, unmutable, string_view with small string optimization. If the string is 15 bytes or les...
StringRef(const char *str)
static const uint8_t SSO_SIZE
const char * data() const
StringRef(const char *data_ptr, size_t length)
StringRef(const std::string &str)
union PJ::StringRef::@56 _storage
static const uint64_t TYPE_BIT
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:47