From ba65bc1ec67608ee9d044d3913c1cfa48f6a5fd1 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 29 Jun 2014 11:58:21 -0700 Subject: [PATCH] Update readme. --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 3556419c..854cab01 100644 --- a/README.rst +++ b/README.rst @@ -87,7 +87,7 @@ An object of any user-defined type for which there is an overloaded } }; - std::string s = str(fmt::format("The date is {}", Date(2012, 12, 9))); + std::string s = fmt::format("The date is {}", Date(2012, 12, 9)); // s == "The date is 2012-12-9" You can use the `FMT_VARIADIC