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++11: Use range-based for loops #3774
Labels
Comments
This was referenced Aug 12, 2020
Merged
@bangerth I see you have two merged pull requests related to this. Has this issue been addressed? |
It seems to me like the majority of places has been converted. But there are a few places one could still touch:
@pmbremner Feel free to convert these in whatever large or small increment you feel like. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have a lot of places of the form
But using C++11 features, we can more easily write this as
Similarly, there are plenty of places of the form (or in many variations -- searching for
for... ::const_iterator
will yield many)that could now be written as
All of these might make the code simpler to read.
The text was updated successfully, but these errors were encountered: