-
-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect rendering of functions returning decltype(auto) #330
Comments
Just realized of another thing that is incorrect in that example: the flex_vector push_back(value_type value) const&;
decltype(auto) push_back(value_type value) &&; The first one takes an l-value cons reference |
Can you post the terminal output from running Sphinx? I think the missing ref qualifiers may be a missing conversion in Breathe, but I'm very sure |
Yeah, last night I studied a bit the Breathe code and I think I found where the const/&& problem is and should be easy to fix. The Here is the relevant part of the output:
|
The master branch of Sphinx should now handle |
A few notes:
|
In relation to the comment above:
In an attempt to keep the issue tracker clean I will be closing this as it is fixed from Breathe's perspective. Please comment if you disagree. |
When functions return
decltype(auto)
, Breathe seems to get confused and render the method incorrectly. Here is an example screenshot:And here is the generated Doxygen, showing one of the correct functions and one of the correct ones. It seems that Doxygen is not the problem here, but Breathe is misinterpreting the result.
The text was updated successfully, but these errors were encountered: