Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Doxygen behavior for function defined with trailing return type

The changelog of doxygen release 1.8.2 says that support has been added to C++11 trailing return types. However, parsing my codes with doxygen version 1.8.4 results in the return types being auto and not the trailing return type.

Is there any option that need to be set to get this working properly?

Edit:

In the figure below it can be seen that the return types are auto, which, I believe, is not the correct behaviour.

enter image description here

like image 619
Allan Avatar asked Oct 31 '13 11:10

Allan


1 Answers

This is an open Doxygen issue on GitHub:

C++11 new function declaration syntax is not recognized correctly (Origin: bugzilla #730794)

but the author of Doxygen wants a clarification on exactly what you expect Doxygen to do.

like image 136
einpoklum Avatar answered Oct 13 '22 23:10

einpoklum



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!