From a93886f1b0f7d8d4a05ab40096b23cc4b9461985 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 9 Dec 2012 19:24:39 -0800 Subject: [PATCH] Correction. --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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