doxygenconcept Directive Example#

Warning

C++20 Concepts support was added in Doxygen v1.9.2. Please be sure to use Doxygen v1.9.2 or newer with doxygenconcept.

Working Example#

This should work:

.. doxygenconcept:: Hashable
   :project: cpp_concept

It produces this output:

template<typename T>
concept Hashable#

Failing Example#

This intentionally fails:

.. doxygenconcept:: MadeUpConcept
   :project: cpp_concept

It produces the following warning message:

Warning

doxygenconcept: Cannot find concept “MadeUpConcept” in doxygen xml output