doxygen 和排序重载的 C++功能
使用SORT_MEMBER_DOCS=YES
时,重载函数的顺序似乎是未定义的。
除了具有相同名称的函数之外,是否可以对所有成员进行排序?
我希望保持重载的顺序与源代码中的顺序相同,因为通常第一个重载有更广泛的文档,下一个重载会引用它。
更新: 在问这个问题一段时间后,我研究了源代码并提出了 Doxygen 的补丁 https://bugzilla.gnome.org/show_bug.cgi?id=646533和 这个问题在版本中已修复。 1.7.4。现在保留重载函数的顺序。
With SORT_MEMBER_DOCS=YES
the order of overloaded functions seems to be undefined.
Is it possible to have all the members sorted, with exception of functions that have the same name?
I'd like to keep overloads in the same order as in the source, because usually the first overload has more extensive documentation and the next one refers to it.
UPDATE:
some time after asking this question I looked into the source and proposed a patch for Doxygen
https://bugzilla.gnome.org/show_bug.cgi?id=646533 and
this issue was fixed in ver. 1.7.4. The order of overloaded functions is preserved now.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论