Skip to content

Conversation

@BenWibking
Copy link
Contributor

Summary

C++ has new rules about user-defined literals. AMReX_REAL.H is updated to comply.

Old syntax:

operator"" _rt

New syntax required by the C++ standards committee:

operator""_rt

Additional background

https://cplusplus.github.io/CWG/issues/2521.html

Checklist

The proposed changes:

  • fix a bug or incorrect behavior in AMReX
  • add new capabilities to AMReX
  • changes answers in the test suite to more than roundoff level
  • are likely to significantly affect the results of downstream AMReX users
  • include documentation in the code and/or rst files, if appropriate

@BenWibking BenWibking changed the title update to comply with C++ defect report on user-defined literals comply with C++ defect report on user-defined literals Nov 5, 2024
@WeiqunZhang WeiqunZhang merged commit 4536558 into AMReX-Codes:development Nov 5, 2024
57 of 59 checks passed
@BenWibking BenWibking deleted the update-cpp-defect-report-literals branch November 5, 2024 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants