Doxygen - declare parameter as optional

三世轮回 提交于 2019-12-05 05:23:00
Arne Mertz

To answer your question: No, there is no such thing.

But I don't share your opinion that there should be something like that. After all, the function declaration will be displayed together with its documentation, so everybody can see that b is optional and what it's default argument is. And for the \fn see doxygen's documentation discouraging the use of \fn.

What you want is not provided by Doxygen - you will have to manually make a note of it in the description.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!