Commit a9c7b9b8 authored by Victor Zverovich's avatar Victor Zverovich

Clarify that _format is deprecated

parent e4f0564a
......@@ -3048,14 +3048,12 @@ constexpr auto operator"" _a(const char* s, size_t) -> detail::udl_arg<char> {
# endif
/**
\rst
User-defined literal equivalent of :func:`fmt::format`.
DEPRECATED! User-defined literal equivalent of fmt::format.
**Example**::
using namespace fmt::literals;
std::string message = "The answer is {}"_format(42);
\endrst
*/
constexpr auto operator"" _format(const char* s, size_t n)
-> detail::udl_formatter<char> {
......
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