Suppress doxygen warning for undocumented member function, but leave synopsis in place

前端 未结 1 1013
灰色年华
灰色年华 2021-02-19 07:35

I\'m looking for a way to suppress doxygen warnings about undocumented member functions, but without using //! @cond and //! @endcond, so the member fu

1条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-19 08:28

    You just need to add brackets. This works for me:

    //! \{
    const int myVar3 = 3;
    const int myVar4 = 3;
    //! \}
    

    There is no warning and it still appears in the output. You may alias this commants to \nowarn and \endnowarn if you like.

    0 讨论(0)
提交回复
热议问题