mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 12:14:26 +00:00
Correction.
This commit is contained in:
parent
8e23730f86
commit
dfabf0e77a
@ -29,8 +29,8 @@ Arguments are accessed by position and arguments' indices can be repeated::
|
|||||||
std::string s = str(fmt::Format("{0}{1}{0}") << "abra" << "cad");
|
std::string s = str(fmt::Format("{0}{1}{0}") << "abra" << "cad");
|
||||||
// s == "abracadabra"
|
// s == "abracadabra"
|
||||||
|
|
||||||
Any user-defined type for which there is an overloaded ``std::ostream``
|
An object of any user-defined type for which there is an overloaded
|
||||||
insertion operator (``operator<<``) can be formatted::
|
``std::ostream`` insertion operator (``operator<<``) can be formatted::
|
||||||
|
|
||||||
class Date {
|
class Date {
|
||||||
int year_, month_, day_;
|
int year_, month_, day_;
|
||||||
|
Loading…
Reference in New Issue
Block a user