Doxygen (1.8.10) complains that the value of my string is not documented. Here is a minimal example demonstrating the problem
#include <string>
struct MyStruct
{
std::string a;
std::string b;
};
class MyClass
{
static struct MyStruct instance;
};
struct MyStruct MyClass::instance = {"firstVal", "secondVal"};
This leads to a warning
/tmp/example.cpp:10: warning: Member firstVal (variable) of class MyClass is not documented.
If I reduce the structure to one element and remove the "secondVal" from the initializer, then the warning will disappear, but obviously this is not a solution ...
source
share