From b60884994bb4ed5da364f3bf8fed9431fc1f3306 Mon Sep 17 00:00:00 2001 From: Walter Gray Date: Tue, 1 Dec 2020 10:34:09 -0800 Subject: [PATCH] Document FMT_STRING requires >C++14 --- doc/api.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/api.rst b/doc/api.rst index d383ee90..ddadb622 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -157,9 +157,12 @@ string checks, wide string, output iterator and user-defined type support. Compile-time Format String Checks --------------------------------- -Compile-time checks are enabled when using ``FMT_STRING``. They support built-in -and string types as well as user-defined types with ``constexpr`` ``parse`` -functions in their ``formatter`` specializations. +Compile-time checks are supported in C++14 and up. They are enabled when using +``FMT_STRING`` and support built-in and string types as well as user-defined +types with ``constexpr`` ``parse`` functions in their ``formatter`` specializations. + +``FMT_STRING`` may function in C++11 environments, but is not supported and can +produce illegible error messages. It is also known to fail in GCC when passing zero arguments. .. doxygendefine:: FMT_STRING