X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fstrings%2Fformat.cpp;fp=source%2Fstrings%2Fformat.cpp;h=1b8b4650a9efc852e2ab42268c775d7f5cb858f1;hb=1f0843257065789231a9949e0a81b79afd7bbebe;hp=4b5bcd0c43e2cf734a54dfd65c18f95b405c19cc;hpb=62a984b46e08740d19cb055f01be3365982f6b9d;p=libs%2Fcore.git diff --git a/source/strings/format.cpp b/source/strings/format.cpp index 4b5bcd0..1b8b465 100644 --- a/source/strings/format.cpp +++ b/source/strings/format.cpp @@ -11,10 +11,6 @@ Formatter::Formatter(const string &f): advance(); } -/** -Returns the result of the formatting operation. Will throw if not enough -values have been fed to the formatter. -*/ const string &Formatter::str() const { if(pos!=fmt.end()) @@ -23,11 +19,6 @@ const string &Formatter::str() const return result; } -/** -Advances the pos iterator to the next conversion, adding literal characters to -the result. The iterator is left at the second character of the conversion -(i.e. after the %). -*/ void Formatter::advance() { for(; pos!=fmt.end(); ++pos) @@ -45,10 +36,6 @@ void Formatter::advance() } } -/** -Reads the next conversion from the format string and returns a corresponding -Fmt object. -*/ Fmt Formatter::get_conversion() { if(pos==fmt.end())