mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-02 20:32:49 +00:00
Correction.
This commit is contained in:
parent
dfabf0e77a
commit
a93886f1b0
@ -43,7 +43,7 @@ An object of any user-defined type for which there is an overloaded
|
||||
}
|
||||
};
|
||||
|
||||
std::string s = fmt::Format("The date is {0}") << Date(2012, 12, 9))
|
||||
std::string s = str(fmt::Format("The date is {0}") << Date(2012, 12, 9);
|
||||
// s == "The date is 2012-12-9"
|
||||
|
||||
Motivation
|
||||
|
Loading…
Reference in New Issue
Block a user