22 General utilities library [utilities]

22.14 Formatting [format]

22.14.6 Formatter [format.formatter] Formatter requirements [formatter.requirements]

Table 78: Formatter requirements [tab:formatter]
Return type
f.format(t, fc)
Formats t according to the specifiers stored in *this, writes the output to fc.out(), and returns an iterator past the end of the output range.
The output shall only depend on t, fc.locale(), fc.arg(n) for any value n of type size_t, and the range [pc.begin(), pc.end()) from the last call to f.parse(pc).
f.format(u, fc)
As above, but does not modify u.