7 Formatter::Formatter(const string &f):
14 const string &Formatter::str() const
17 throw format_error("Too few arguments for format");
22 void Formatter::advance()
24 for(; pos!=fmt.end(); ++pos)
30 throw format_error("Malformed format string");
39 Fmt Formatter::get_conversion()
42 throw format_error("Too many arguments for format");
44 string::iterator i = pos;
45 for(; i!=fmt.end(); ++i)
50 throw format_error("Malformed format string");