pugixml icon indicating copy to clipboard operation
pugixml copied to clipboard

add C++20 module

Open Arthapz opened this issue 1 year ago • 5 comments

Arthapz avatar Oct 31 '24 13:10 Arthapz

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.

brandl-muc avatar Oct 31 '24 13:10 brandl-muc

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 avatar Oct 31 '24 16:10 Arthapz

here's a demo for C++20 module

https://github.com/Arthapz/pugixml_module_test

pugixml

Arthapz avatar Oct 31 '24 17:10 Arthapz

What's the state on this PR? Any chance it can be discussed further?

aniol-marin avatar May 11 '25 15:05 aniol-marin

(i rebased on master)

Arthapz avatar May 11 '25 15:05 Arthapz