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

lib/iostream: Remove redundant template parameters #4586

Merged
merged 1 commit into from
Oct 26, 2024

Conversation

wenzeslaus
Copy link
Member

In C++20, repeating template parameter names with the name of the class is no longer allowed as it is redundant (https://cplusplus.github.io/CWG/issues/2237.html). The new code is valid also in C++17, but the old code is not accepted in C++20.

In C++20, repeating template parameter names with the name of the class is no longer allowed as it is redundant (https://cplusplus.github.io/CWG/issues/2237.html). The new code is valid also in C++17, but the old code is not accepted in C++20.
@ninsbl ninsbl changed the title lib/iostream: Remove redundant tempate parameters lib/iostream: Remove redundant template parameters Oct 25, 2024
@nilason nilason added the C++ Related code is in C++ label Oct 25, 2024
@nilason nilason added this to the 8.5.0 milestone Oct 25, 2024
@wenzeslaus wenzeslaus merged commit 5af22b2 into OSGeo:main Oct 26, 2024
27 checks passed
@wenzeslaus wenzeslaus deleted the no-redundant-template-par branch October 26, 2024 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++ Related code is in C++ libraries
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants