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
Keyword-like forms of logical operators are not supported in C++ requires clause #10506
Comments
What kind of file is your |
In your code you have
As part of the draft C++ 2023 standard I see:
so, I think, for |
@albert-github These are so called "alternative operators", see https://en.cppreference.com/w/cpp/language/operator_alternative |
@doxygen I see (found them also in the standard as paragraph "5.5 Alternative tokens", some horrible sequences like |
It is just the default generated one. There is also main.cpp which contains test cases for each |
I think we should definitely not support the weird |
@MiroPalmu Please verify if the referenced commit fixes the problem for you. Do not close the issue, this will be done automatically when the next official release becomes available. |
@doxygen Yes, it worked! Thanks for the quick fix :) |
This issue was previously marked 'fixed but not released', |
Describe the bug
Keyword-like forms of logical operators
and
,or
andnot
are not supported in required clause.For example for following class:
"Detailed Description" in html documentation would contain:
If one would change
and
->&&
missingstd::unsigned_integral<std::underlying_type_t<T>>
would appear in the documentation.Expected behavior
Support for keyword-like forms of logical opeators.
Screenshots
To Reproduce
doxygen_bug.tar.gz
Version
Doxygen 1.9.6 on Arch Linux
Additional context
I don't understand the implementation enough to say for sure but it seems that the bug lies in doxygen/src/scanner.I:2343:
The text was updated successfully, but these errors were encountered: