From d6dcb12ef4d2ff8c8bc69fb3fb1aa9cde96973ad Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sat, 22 Apr 2023 18:27:21 -0600 Subject: [PATCH] Enable documenting C++20 'requires' clauses in doxygen. --- doc/doxygen/options.dox.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/doxygen/options.dox.in b/doc/doxygen/options.dox.in index b465370b59..9af33e6510 100644 --- a/doc/doxygen/options.dox.in +++ b/doc/doxygen/options.dox.in @@ -93,6 +93,8 @@ ALIASES += dealiiWriggersA{2}="@note For a discussion of the background of this ALIASES += dealiiHolzapfelA{2}="@note For a discussion of the background of this function, see G. A. Holzapfel: \"Nonlinear solid mechanics. A Continuum Approach for Engineering\" (2007), and in particular formula (\2) on p. \1 (or thereabouts). " +ALIASES += dealiiConceptRequires{1}="@note This class, function, or variable is a template, and it can only be instantiated if the following condition is true: @code \1 @endcode If your compiler supports the C++20 standard, then this constraint will be enforced by a [C++20 requires clause](https://en.cppreference.com/w/cpp/language/constraints)." + #--------------------------------------------------------------------------- # configuration options related to source browsing #--------------------------------------------------------------------------- -- 2.39.5