From: Wolfgang Bangerth Date: Sun, 23 Apr 2023 00:27:21 +0000 (-0600) Subject: Enable documenting C++20 'requires' clauses in doxygen. X-Git-Tag: v9.5.0-rc1~271^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6dcb12ef4d2ff8c8bc69fb3fb1aa9cde96973ad;p=dealii.git Enable documenting C++20 'requires' clauses in doxygen. --- 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 #---------------------------------------------------------------------------