您是否可以使用单个注释块来评论doxygen中的多个函数?下面是一个不起作用的简单示例.我可以做类似的事情来获得我想要的东西吗?
file.cpp
#include file.h
/// @name FunsGroupedInDoxygen
///@{
/**
* @brief Documentation for 2 functions
* @param aParam A Parameter
* @retval 0 will always be returned
*/
int fun1(int aParam) {return 0;}
int fun2(int aParam) {return 0;}
///@}
Run Code Online (Sandbox Code Playgroud)
file.h
int fun1(int aParam);
int fun2(int aParam);
Run Code Online (Sandbox Code Playgroud)
氧气输出:
警告:文件file.h的成员fun2(int aParam)(函数)未记录.