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