开发者

Doxygen related question. Commentings same stuff in different files

开发者 https://www.devze.com 2022-12-25 13:23 出处:网络
I\'m using doxygen for commenting code. There is, for example, two files: test1.cpp: /** * @namespace SomeNamespace

I'm using doxygen for commenting code. There is, for example, two files:

test1.cpp:

/**
* @namespace SomeNamespace
* @brief Describe it
*/
namespace SomeNamespace开发者_JAVA技巧
{
   ...
}

test2.cpp:

// Put comment about namespace again?
namespace SomeNamespace
{
   ...
}


When you comment same stuff in different files, comments get concatenated in Doxygen output. I experience it at least when commenting both function declaration and function body.

0

精彩评论

暂无评论...
验证码 换一张
取 消