]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Enable documenting C++20 'requires' clauses in doxygen.
authorWolfgang Bangerth <bangerth@colostate.edu>
Sun, 23 Apr 2023 00:27:21 +0000 (18:27 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sun, 23 Apr 2023 22:24:19 +0000 (16:24 -0600)
doc/doxygen/options.dox.in

index b465370b59b1987eb85f5ffbb397cf08154775b2..9af33e651098797fa093c0ec8d4bc3b5d1c8d4c8 100644 (file)
@@ -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
 #---------------------------------------------------------------------------

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.