Doxygen支持C ++ 11模板别名('using'语法)? [英] Doxygen support for C++11 template aliases (the 'using' syntax)?
本文介绍了Doxygen支持C ++ 11模板别名('using'语法)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用doxygen 1.7.1为一些C ++ 11代码生成文档,似乎忽略了我的模板别名。
I'm using doxygen 1.7.1 to generate documentation for some C++ 11 code and it seems to be ignoring my template aliases.
为了清楚起见,下面是一个模板别名的示例:
For clarity, here's an example of a template alias:
template<class T>
using ResultOf = std::result_of<T>::type;
它也无法使用语法选择更清晰的新的传统typedef:
It also fail to pick up more tradition typedefs written with the cleaner new using syntax:
using PredicateOne = std::function<bool(string)>; // Doxygen doesn't catch this
typedef std::function<bool(string)> PredicateTwo; // but does catch this.
是否有正确记录这些别名的设置或更高版本?
Is there a setting or later release that will properly document these aliases?
推荐答案
1.8.2版支持使用
关键字
这篇关于Doxygen支持C ++ 11模板别名('using'语法)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文