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

C++17 Adoption #134

Open
ecorm opened this issue Feb 5, 2023 · 0 comments
Open

C++17 Adoption #134

ecorm opened this issue Feb 5, 2023 · 0 comments
Milestone

Comments

@ecorm
Copy link
Owner

ecorm commented Feb 5, 2023

In page 20 of ISO's 2022 Annual C++ Developer Survey "Lite", only 12.76% responded that they're not allowed to use C++17 in their current work/school project. Compare this to 2.4% for C++11.

Here is a snapshot of that table that I place here under the Fair Use Doctrine for the purposes of discussion.

Screenshot from 2023-02-04 20-31-38

In light of that survey, I'd like to migrate CppWAMP to C++17 for the v1.0.0 release that will feature router functionality. If there are any objections to C++17, please let me know and explain why.

I would avoid the features of C++17 that have poor support from compilers, in particular from_chars and to_chars where I would provide a macro to enable/disable their use. cppreference has this nice table that summarizes C++17 feature support by compiler.

@ecorm ecorm added this to the 1.0.0 milestone Feb 5, 2023
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

No branches or pull requests

1 participant