小编Dav*_*ide的帖子

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

我已经使用相关文档定义了以下类型特征结构:

/*!
 * @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 …
Run Code Online (Sandbox Code Playgroud)

c++ alias typedef doxygen code-documentation

7
推荐指数
0
解决办法
132
查看次数

标签 统计

alias ×1

c++ ×1

code-documentation ×1

doxygen ×1

typedef ×1