Doxygen无法解析模板化返回类型

| 我目前正在使用Doxygen记录我的代码。似乎Doxygen似乎无法处理模板化的返回值。我的问题:
/** 
 *  Retrieves all edges from the graph.
 *  @param gID The ID of the graph.
 *  @return A list containing pairs of vertices, denoting the edges in the graph.
 */
 int GetEdges(const int& gID); // Works fine

/** 
 *  Retrieves all edges from the graph.
 *  @param gID The ID of the graph.
 *  @return A list containing pairs of vertices, denoting the edges in the graph.
 */
 list<pair<int,int>> GetEdges(const int& gID); // PROBLEM
第二个功能未记录。更糟; Doxygen现在跳过了它下面的所有功能。 doxygen似乎无法处理
list<pair<int,int>>
返回值。 有人知道为什么以及如何更改吗?先感谢您。     
已邀请:
也许Doxygen不支持声明模板的新方法?较旧的C ++标准(我认为最多为C ++ 03),仅允许
list<pair<int,int> >
。最后,两个
>
符号之间应有一个空格,否则编译器会将它们解释为
>>
(右移)运算符。 一些较新的编译器重新采用了这种语法,它是即将到来的C ++ 0x标准的一部分,但是doxygen尚无法识别它。     

要回复问题请先登录注册