status NEW severity normal in component general for ---
Reported in version 1.8.14 on platform Other
Assigned to: Dimitri van Heesch
On 2018-01-23 15:44:39 +0000, [email protected] wrote:
For a function returning a std::function object, if there is a reference in
the std::function template argument Doxygen erronously classifies the
function as a variable.
Example:
-----------------------------------------------
#include <functional>
/** Test function */
std::function<void(const float&)> MyTestFunc();
-----------------------------------------------
MyTestFunc is listed as a variable in the generated html documentation.
The following code is parsed correctly:
-----------------------------------------------
#include <functional>
/** Test function */
std::function<void(const float)> MyTestFunc();
-----------------------------------------------