blob: c084b163d61486ca6cea893d9bb44e90cf487958 [file] [log] [blame]
Shinichiro Hamaji776ca302015-06-06 03:52:48 +09001#ifndef STRING_POOL_H_
2#define STRING_POOL_H_
3
4#include <string>
5#include <vector>
6
7#include "string_piece.h"
8
9using namespace std;
10
11class StringPool {
12 public:
13 StringPool();
14 ~StringPool();
15
16 StringPiece Add(StringPiece s);
17
18 private:
19 vector<char*> pool_;
20};
21
22#endif // STRING_POOL_H_