We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f6e716 commit c59b8f1Copy full SHA for c59b8f1
include/fmt/base.h
@@ -148,6 +148,9 @@ import std;
148
#elif defined(__cpp_nontype_template_args) && \
149
__cpp_nontype_template_args >= 201911L
150
# define FMT_USE_NONTYPE_TEMPLATE_ARGS 1
151
+#elif FMT_CLANG_VERSION >= 1200 && FMT_CPLUSPLUS >= 202002L
152
+// clang 12 already has enough support for {fmt} to use.
153
+# define FMT_USE_NONTYPE_TEMPLATE_ARGS 1
154
#else
155
# define FMT_USE_NONTYPE_TEMPLATE_ARGS 0
156
#endif
0 commit comments