ICU 74.2: common/unicode/stringpiece.h File Reference

ICU 74.2 74.2

Data Structures | Namespaces | Functions
stringpiece.h File Reference

C++ API: StringPiece: Read-only byte string wrapper class. More...

`#include "unicode/utypes.h"`
`#include <cstddef>`
`#include <type_traits>`
`#include "unicode/uobject.h"`
`#include "unicode/std_string.h"`

Go to the source code of this file.

## Data Structures
class | icu::StringPiece
| A string-like object that points to a sized piece of memory. More...

## Namespaces
namespace | icu
| File coll.h.

## Functions
U_EXPORT UBool | icu::operator== (const StringPiece &x, const StringPiece &y)
| Global operator == for StringPiece.
bool | icu::operator!= (const StringPiece &x, const StringPiece &y)
| Global operator != for StringPiece.

## Detailed Description

C++ API: StringPiece: Read-only byte string wrapper class.

Definition in file stringpiece.h.