mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-26 12:10:06 +00:00
Clarify that _format is deprecated
This commit is contained in:
parent
e4f0564aa6
commit
a9c7b9b8f7
@ -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> {
|
||||
|
Loading…
Reference in New Issue
Block a user