#include "tensorstore/util/utf8_string.h"
struct tensorstore::Utf8String;

Wrapper around std::string to indicate a UTF-8 encoded string.

Data members

std::string utf8;

Underlying string encoded as UTF-8.

Friend functions

friend bool operator<(const Utf8String& a, const Utf8String& b);
friend bool operator<=(const Utf8String& a, const Utf8String& b);
friend bool operator>(const Utf8String& a, const Utf8String& b);
friend bool operator>=(const Utf8String& a, const Utf8String& b);
friend bool operator==(const Utf8String& a, const Utf8String& b);
friend bool operator!=(const Utf8String& a, const Utf8String& b);

Comparison operators.

friend void AbslStringify(Sink& sink, const Utf8String& s);

Prints the UTF-8 value to an std::ostream.