mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-19 20:18:49 +00:00
Comment.
This commit is contained in:
parent
1a236c80f3
commit
5af2162acb
@ -60,6 +60,7 @@ Format can be used as a safe portable replacement to ``itoa``:
|
|||||||
|
|
||||||
fmt::Writer w;
|
fmt::Writer w;
|
||||||
w << 42; // replaces itoa(42, buffer, 10)
|
w << 42; // replaces itoa(42, buffer, 10)
|
||||||
|
// access the string using w.str() or w.c_str()
|
||||||
|
|
||||||
An object of any user-defined type for which there is an overloaded
|
An object of any user-defined type for which there is an overloaded
|
||||||
:code:`std::ostream` insertion operator (``operator<<``) can be formatted:
|
:code:`std::ostream` insertion operator (``operator<<``) can be formatted:
|
||||||
|
Loading…
Reference in New Issue
Block a user