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

Code review for const auto vs auto const #530

Merged
merged 2 commits into from
Feb 4, 2025
Merged

Code review for const auto vs auto const #530

merged 2 commits into from
Feb 4, 2025

Conversation

walbourn
Copy link
Member

@walbourn walbourn commented Feb 4, 2025

Both const auto and auto const are equivalent in terms of the C++ compiler parser, but general coding guidelines suggest using const auto. The primary reason for this PR is to be consistent since the codebase was using both.

@walbourn walbourn self-assigned this Feb 4, 2025
@walbourn walbourn merged commit ba35e79 into main Feb 4, 2025
100 of 101 checks passed
@walbourn walbourn deleted the autoconst branch February 4, 2025 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants