gpt4 book ai didi

documentation - 如何对函数的未命名参数进行 doxygen 文档化?

转载 作者:行者123 更新时间:2023-12-04 13:42:14 26 4
gpt4 key购买 nike

用 doxygen,我习惯写

/**
* @brief blah blah
*
* @param foo description of foo
* @param bar description of bar
* @return description of the return value
*/
int f(int foo, unsigned bar);

但是如果我不命名参数之一呢? :
int f(int, unsigned bar);

当我无法按名称引用此参数时,如何记录该参数?

最佳答案

Doxygen 目前(2020 年 7 月)未实现此功能。但是,已在 Doxygen GitHub 问题页面上为其打开了一个功能请求:
#6926 Feature request: doc for unnamed parameters

关于documentation - 如何对函数的未命名参数进行 doxygen 文档化?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55421894/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com