doxygen嵌套\if\endif样本不工作
嵌套的if/endif示例似乎无法按预期工作: 它产生:doxygen嵌套\if\endif样本不工作,doxygen,Doxygen,嵌套的if/endif示例似乎无法按预期工作: 它产生: Unconditionally shown documentation. More text. Unconditional text. 但我希望: Unconditionally shown documentation. Unconditional text. 我尝试了几个doxygen版本(也是目前最新的v1.8.6)。 这个示例对任何人都适用吗 作为解决方法,我使用了: /*! Unconditionally shown d
Unconditionally shown documentation. More text. Unconditional text.
但我希望:
Unconditionally shown documentation. Unconditional text.
我尝试了几个doxygen版本(也是目前最新的v1.8.6)。
这个示例对任何人都适用吗
作为解决方法,我使用了:
/*! Unconditionally shown documentation.
* \if Cond1
* Only included if Cond1 is set.
* \endif
* \if Cond2
* Only included if Cond2 is set.
* \endif
* \if (Cond2 && Cond3)
* Only included if Cond2 and Cond3 are set.
* \endif
* \if Cond2
* More text.
* \endif
* Unconditional text.
*/
但是我更喜欢使用原始示例中的嵌套样式。我同意该示例应该有效,但显然它从未有效,您是第一个注意到的 请在此处的bug跟踪器中为此提交一份bug报告:我已经做了一份bug报告: