-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
C++20 requires clause not supported #7295
Comments
Instead of reinventing the wheel regarding name mangling I try to to follow (in spirit) the Itanium ABI, but it looks like the standard is not yet clear on some details (itanium-cxx-abi/cxx-abi#24). |
I checked the latest version and it still does not work but the generated errors are different. For example for the following code: https://github.com/mpusz/units/blob/master/src/include/units/quantity_cast.h#L327-L329 Sphinx 3.0.3 generated the following error:
while the PR #7670 prints:
|
In the code the declaration ends with |
I am sorry, I missed your answer :-( I confirm it is not a copy-paste error but a full line of the trace I get. |
In that case I guess Breathe or Doxygen may have a problem. I didn't find an easy, quick way to build your docs, so I can't check. |
In case you are interested, you can find info on how to build docs here: https://mpusz.github.io/units/usage.html#full-mp-units-build-unit-testing-and-documentation-generation and the following remotes have to be added to Conan: |
Could you please add the support for C++ requires clauses?
I am the author of mp-units which is a Physical Units Library targeting C++23 and implemented in C++20. You can find the initial version of docs here: https://mpusz.github.io/units/index.html. That documentation is meant to help with getting user's feedback before C++ standardization so it would be great if you could help here.
The text was updated successfully, but these errors were encountered: