From a9c7b9b8f7b8c2187601e22fcbf8d2644dfee873 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Thu, 9 Dec 2021 10:34:27 -0800 Subject: [PATCH] Clarify that _format is deprecated --- include/fmt/format.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index 52b16779..0678f229 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -3048,14 +3048,12 @@ constexpr auto operator"" _a(const char* s, size_t) -> detail::udl_arg { # 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 {