From 739055ae7b08f8d5dffee9552334ede92e50b17b Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Thu, 6 Jan 2022 11:06:39 -0800 Subject: [PATCH] Fix apidocs --- include/fmt/format.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index aaf22e94..ee69651c 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -3038,14 +3038,8 @@ constexpr auto operator"" _a(const char* s, size_t) -> detail::udl_arg { } # endif -/** - DEPRECATED! User-defined literal equivalent of fmt::format. - - **Example**:: - - using namespace fmt::literals; - std::string message = "The answer is {}"_format(42); - */ +// DEPRECATED! +// User-defined literal equivalent of fmt::format. FMT_DEPRECATED constexpr auto operator"" _format(const char* s, size_t n) -> detail::udl_formatter { return {{s, n}};