Skip to content
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

add C++20 module #644

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

add C++20 module #644

wants to merge 9 commits into from

Conversation

Arthapz
Copy link

@Arthapz Arthapz commented Oct 31, 2024

No description provided.

@Arthapz Arthapz force-pushed the master branch 2 times, most recently from 6de9f70 to e354e1a Compare October 31, 2024 13:25
@brandl-muc
Copy link
Contributor

Given that constexpr has evolved substantially it might be a good idea to name the macro PUGIXML_CONSTEXPR11.
That would allow e.g. to have functions as constexpr in C++17 mode that could not be constexpr with C++11.

@Arthapz
Copy link
Author

Arthapz commented Oct 31, 2024

Given that constexpr has evolved substantially it might be a good idea to name the macro PUGIXML_CONSTEXPR11. That would allow e.g. to have functions as constexpr in C++17 mode that could not be constexpr with C++11.

good catch

@Arthapz
Copy link
Author

Arthapz commented Oct 31, 2024

here's a demo for C++20 module

https://github.com/Arthapz/pugixml_module_test

pugixml

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