更新时间:2023-11-19 23:05:04
好,所以这里的问题不是doxygen的错误行为,而是对方法的误解全局名称空间前缀 ::
起作用。
OK, so the problem here is not a doxygen wrong behavior, but a misunderstanding on how the global namespace prefix ::
works.
:: H_max
标识在全局名称空间中定义的符号,即在任何名称空间中定义的符号。恐怕-如果我错了,请纠正我-您期望它充当父目录 ..
标识符的地方。
::H_max
identifies a symbol defined in the global namespace, that is, out of any namespace. I'm afraid - correct me if I'm wrong - that you where expecting it to behave as the parent directory ..
identifier.
当doxygen处理您提供的代码片段时,它不会在异常描述中链接 :: H_max
,因为它找不到 H_max
变量。如果删除双冒号前缀,则应提供指向 isa :: H_max
的链接。
When doxygen processes the code snippet you provided, it doesn't link ::H_max
in the exception description because it cannot find a H_max
variable in the global namespace. If you remove the double colon prefix, it should provide a link to isa::H_max
.