Google APIs Client Library for C++
|
#include <assert.h>
#include <stddef.h>
#include <string.h>
#include <iosfwd>
#include <limits>
#include <string>
#include "googleapis/base/integral_types.h"
#include "googleapis/base/port.h"
#include "googleapis/base/type_traits.h"
#include "googleapis/strings/fastmem.h"
#include "googleapis/util/hash.h"
Go to the source code of this file.
Namespaces | |
namespace | googleapis |
A service request pager acts as a high level iterator for paging through results. | |
Defines | |
#define | STRINGPIECE_CHECK_SIZE 1 |
STRINGPIECE_CHECK_SIZE protects us from 32-bit overflows. | |
Typedefs | |
typedef string::difference_type | stringpiece_ssize_type |
StringPiece has *two* size types. | |
Functions | |
DECLARE_POD (StringPiece) | |
bool | operator== (StringPiece x, StringPiece y) |
So vector<StringPiece> becomes really fast. | |
bool | operator!= (StringPiece x, StringPiece y) |
bool | operator< (StringPiece x, StringPiece y) |
bool | operator> (StringPiece x, StringPiece y) |
bool | operator<= (StringPiece x, StringPiece y) |
bool | operator>= (StringPiece x, StringPiece y) |
std::ostream & | operator<< (std::ostream &o, StringPiece piece) |
allow StringPiece to be logged |
#define STRINGPIECE_CHECK_SIZE 1 |
STRINGPIECE_CHECK_SIZE protects us from 32-bit overflows.
TODO(user): delete this after stringpiece_ssize_type goes 64 bit.