Home | History | Annotate | Download | only in fmt

Lines Matching refs:Char

20 template <class Char>
21 class FormatBuf : public std::basic_streambuf<Char> {
23 typedef typename std::basic_streambuf<Char>::int_type int_type;
24 typedef typename std::basic_streambuf<Char>::traits_type traits_type;
26 Buffer<Char> &buffer_;
27 Char *start_;
30 FormatBuf(Buffer<Char> &buffer) : buffer_(buffer), start_(&buffer[0]) {
75 template <typename Char, typename ArgFormatter, typename T>
76 void format_arg(BasicFormatter<Char, ArgFormatter> &f,
77 const Char *&format_str, const T &value) {
78 internal::MemoryBuffer<Char, internal::INLINE_BUFFER_SIZE> buffer;
80 internal::FormatBuf<Char> format_buf(buffer);
81 std::basic_ostream<Char> output(&format_buf);
84 BasicStringRef<Char> str(&buffer[0], format_buf.size());
85 typedef internal::MakeArg< BasicFormatter<Char> > MakeArg;