Commit 6d339e32 authored by Victor Zverovich's avatar Victor Zverovich

Improve comment

parent c3d05245
......@@ -3536,7 +3536,8 @@ operator"" _a(const wchar_t *s, std::size_t) { return {s}; }
**Example**::
#include <fmt/format.h>
std::string s = fmt::format(fmt("{:d}"), "foo"); // fails to compile
// A compile-time error because 'd' is an invalid specifier for strings.
std::string s = fmt::format(fmt("{:d}"), "foo");
\endrst
*/
# define fmt(s) FMT_STRING(s)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment