I have defined the following type traits struct with the associated documentation:
/*!
* @brief Get the type at a given index Idx from a template parameter pack TPack.
*
* Provides a member type holding the type at a given index Idx in a template
* parameter pack TPack.
* <br> The index must be less than the template parameter pack dimension, otherwise
* a compilation error will be triggered.
*
* @ingroup my_group
*/
template <unsigned int Idx, class... TPack>
struct TypeAt;
and then provided a convenience alias (defined in the same file and in the same namespace) as:
/*!
* @ingroup my_group
*/
template<unsigned int Idx, class... TPack>
using TypeAtT = typename TypeAt<Idx, TPack...>::type;
The documentation of the alias is displayed in the namespace documentation page. Instead of this, I would like to include it in the TypeAt
class documentation page, under a named section, as the std::remove_cv
documentation on cppreference.com does with the convenience alias std::remove_cv_t
This answer suggests to use the @relates
command; however, as far as I understood, it does not allow to customise the title for one file only.
Another suggestion is to use doxygen grouping, but looking at the examples provided on this page it does not seem that gives the result I would like.
Can anyone suggest me whether it is possible to do what I'm trying to achieve, and how?
For completeness, I am using doxygen 1.8.13 on Ubuntu 18.04.
Thank you very much in advance.