ICU 57.1 57.1
stringpiece.h File Reference

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

#include "unicode/utypes.h"
#include "unicode/uobject.h"
#include "unicode/std_string.h"

Go to the source code of this file.

Data Structures

class  StringPiece
 A string-like object that points to a sized piece of memory. More...
 

Functions

U_EXPORT UBool operator== (const StringPiece &x, const StringPiece &y)
 Global operator == for StringPiece.
 
UBool 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.

Function Documentation

◆ operator!=()

UBool operator!= ( const StringPiece & x,
const StringPiece & y )
inline

Global operator != for StringPiece.

Parameters
xThe first StringPiece to compare.
yThe second StringPiece to compare.
Returns
TRUE if the string data is not equal
Stable
ICU 4.8

Definition at line 218 of file stringpiece.h.

◆ operator==()