doxygen:在类文档下的部分中包含便利别名的文档

Dav*_*ide 7 c++ alias typedef doxygen code-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;
Run Code Online (Sandbox Code Playgroud)

然后提供了一个方便的别名(在同一个文件和同一个命名空间中定义)为:

/*!
 * @ingroup my_group 
 */
template<unsigned int Idx, class... TPack>
using TypeAtT = typename TypeAt<Idx, TPack...>::type;
Run Code Online (Sandbox Code Playgroud)

别名的文档显示在命名空间文档页面中。取而代之的是,我想将它包含在TypeAt 文档页面中的命名部分下,就像std::remove_cv cppreference.com上的文档使用便利别名一样std::remove_cv_t

这个答案建议使用该@relates命令;然而,据我所知,它不允许只为一个文件自定义标题。

另一个建议是使用 doxygen 分组,但是查看此页面上提供的示例似乎并没有给出我想要的结果。

任何人都可以建议我是否有可能实现我想要实现的目标,以及如何实现?

为了完整起见,我在 Ubuntu 18.04 上使用了 doxygen 1.8.13。

非常感谢您提前。