假设我的代码中有一个struct s / w的全局实例。我需要用户能够知道用于struct初始化的值。有没有办法做到这一点?
/*!
\brief I want the values of this instance of the struct to be exposed via doxygen not the struct itself.
*/
const myStruct xyz = {
1, ///< This value decides..
2, ///< bla
3 ///< even more bla
}