From e00b508ed162fb1fcae1253d6b9f4ece3430af7b Mon Sep 17 00:00:00 2001 From: Barry Revzin Date: Tue, 7 Dec 2021 15:14:26 -0600 Subject: [PATCH] The enable_if argument is 3rd. --- doc/api.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api.rst b/doc/api.rst index d7bdd349..669517c8 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -278,7 +278,7 @@ You can also write a formatter for a hierarchy of classes:: }; template - struct fmt::formatter::value, char>> : + struct fmt::formatter::value>> : fmt::formatter { template auto format(const A& a, FormatCtx& ctx) {