C ++ / Doxygen:是否可以记录struct初始化以暴露实际值?

时间:2015-12-02 19:11:18

标签: c++ doxygen

假设我的代码中有一个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
    }

0 个答案:

没有答案