Make integer formatting faster.

This commit is contained in:
Victor Zverovich
2012-12-25 09:00:11 -08:00
parent 3cea869989
commit d96337914f
2 changed files with 49 additions and 12 deletions
+1 -3
View File
@@ -315,9 +315,7 @@ class Formatter {
// using inserter operator<<.
internal::ArgInserter operator()(const char *format);
void operator<<(int value) {
FormatInt(value, FormatSpec());
}
void operator<<(int value);
std::size_t size() const { return buffer_.size(); }