Doxygen support for C ++ 11 template aliases (using syntax)?

I use doxygen 1.7.1 to create documentation for some C ++ 11 code and seem to ignore my template aliases.

For clarity, here is an example of a template alias:

template<class T> using ResultOf = std::result_of<T>::type; 

He also cannot take away more of the tradition of typedefs written using a cleaner new syntax:

 using PredicateOne = std::function<bool(string)>; // Doxygen doesn't catch this typedef std::function<bool(string)> PredicateTwo; // but does catch this. 

Is there an installation or later that will correctly document these aliases?

+4
source share
2 answers

version 1.8.2 supports new use of the using keyword

+7
source

FWIW, I'm sure doxygen has not added support yet, but it’s probably on the task list, and the more people ask developers, the sooner they will appear.

The version you have, 1.7.1, is quite old and has no chance, no matter what settings you use.

+1
source

Source: https://habr.com/ru/post/981061/


All Articles