#include "unicode/utypes.h"
#include "unicode/stringpiece.h"
#include "cstring.h"
#include "cmemory.h"
U_NAMESPACE_BEGIN
StringPiece::StringPiece(const char* str)
: … { … }
StringPiece::StringPiece(const StringPiece& x, int32_t pos) { … }
StringPiece::StringPiece(const StringPiece& x, int32_t pos, int32_t len) { … }
void StringPiece::set(const char* str) { … }
int32_t StringPiece::find(StringPiece needle, int32_t offset) { … }
int32_t StringPiece::compare(StringPiece other) { … }
U_EXPORT UBool U_EXPORT2
operator==(const StringPiece& x, const StringPiece& y) { … }
const int32_t StringPiece::npos = …;
U_NAMESPACE_END