diff --git a/README.rst b/README.rst index dc13f8c9..168d3139 100644 --- a/README.rst +++ b/README.rst @@ -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