42 |
#include <string> |
#include <string> |
43 |
#include <iosfwd> // for ostream forward-declaration |
#include <iosfwd> // for ostream forward-declaration |
44 |
|
|
45 |
#if @pcre_has_type_traits@ |
#if @pcre_have_type_traits@ |
46 |
#define HAVE_TYPE_TRAITS |
#define HAVE_TYPE_TRAITS |
47 |
#include <type_traits.h> |
#include <type_traits.h> |
48 |
#elif @pcre_has_bits_type_traits@ |
#elif @pcre_have_bits_type_traits@ |
49 |
#define HAVE_TYPE_TRAITS |
#define HAVE_TYPE_TRAITS |
50 |
#include <bits/type_traits.h> |
#include <bits/type_traits.h> |
51 |
#endif |
#endif |
52 |
|
|
53 |
|
#include <pcre.h> |
54 |
|
|
55 |
using std::string; |
using std::string; |
56 |
|
|
57 |
namespace pcrecpp { |
namespace pcrecpp { |
58 |
|
|
59 |
class StringPiece { |
class PCRECPP_EXP_DEFN StringPiece { |
60 |
private: |
private: |
61 |
const char* ptr_; |
const char* ptr_; |
62 |
int length_; |
int length_; |