Clarify that _format is deprecated

This commit is contained in:
Victor Zverovich 2021-12-09 10:34:27 -08:00
parent e4f0564aa6
commit a9c7b9b8f7

View File

@ -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> {