#include <string.h>
#include <string>
#include <iosfwd>
#include <pcre.h>
Go to the source code of this file.
Namespaces | |
namespace | pcrecpp |
Classes | |
class | pcrecpp::StringPiece |
Defines | |
#define | STRINGPIECE_BINARY_PREDICATE(cmp, auxcmp) |
Functions | |
std::ostream & | operator<< (std::ostream &o, const pcrecpp::StringPiece &piece) |
#define STRINGPIECE_BINARY_PREDICATE | ( | cmp, | |||
auxcmp | ) |
Value:
bool operator cmp (const StringPiece& x) const { \ int r = memcmp(ptr_, x.ptr_, length_ < x.length_ ? length_ : x.length_); \ return ((r auxcmp 0) || ((r == 0) && (length_ cmp x.length_))); \ }
Definition at line 120 of file pcre_stringpiece.h.
std::ostream& operator<< | ( | std::ostream & | o, | |
const pcrecpp::StringPiece & | piece | |||
) |