Lines Matching refs:allocator
20 template <typename Char, typename Allocator = std::allocator<Char> >
23 typedef std::basic_string<Char, std::char_traits<Char>, Allocator> StringType;
36 explicit StringBuffer(const Allocator &allocator = Allocator())
37 : data_(allocator) {}
56 and the standard allocator:
80 template <typename Char, typename Allocator = std::allocator<Char> >
83 internal::StringBuffer<Char, Allocator> buffer_;
91 explicit BasicStringWriter(const Allocator &allocator = Allocator())
92 : BasicWriter<Char>(buffer_), buffer_(allocator) {}
99 void move_to(std::basic_string<Char, std::char_traits<Char>, Allocator> &str) {