Skip to content

replace std::count_if with std::ranges::count_if where appropriate#6858

Merged
bska merged 1 commit into
OPM:masterfrom
akva2:use_ranges_count_if
Feb 23, 2026
Merged

replace std::count_if with std::ranges::count_if where appropriate#6858
bska merged 1 commit into
OPM:masterfrom
akva2:use_ranges_count_if

Conversation

@akva2
Copy link
Copy Markdown
Member

@akva2 akva2 commented Feb 23, 2026

the c++-20 constrained algorithm is safer and code is more readable

the c++-20 constrained algorithm is safer and code is more readable
@akva2 akva2 added the manual:irrelevant This PR is a minor fix and should not appear in the manual label Feb 23, 2026
@akva2
Copy link
Copy Markdown
Member Author

akva2 commented Feb 23, 2026

jenkins build this please

Copy link
Copy Markdown
Member

@bska bska left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot. I'll merge into master.

@bska bska merged commit 408e079 into OPM:master Feb 23, 2026
3 checks passed
@akva2 akva2 deleted the use_ranges_count_if branch February 23, 2026 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

manual:irrelevant This PR is a minor fix and should not appear in the manual

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants