如果我有以下内容:
/**
* @brief (x,y,z) points for block
*/
int x, y, z;
Run Code Online (Sandbox Code Playgroud)
它只会生成x的文档,是否可以在doxygen中使用一条注释对所有x,y和z进行注释?
编辑按照envu的建议,我现在有以下内容(基于http://www.doxygen.nl/manual/grouping.html#memgroup)
//@{
/** some documentation here */
int x, y, z;
//@}
Run Code Online (Sandbox Code Playgroud)
要么
//@{
/**
* @brief some documentation here
*/
int x, y, z;
//@}
Run Code Online (Sandbox Code Playgroud)
然而,这两个仍然只记录x.尝试使用不同的表单我还没有得到相同的文档字符串来跨越多个变量