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.
精彩评论