Skip to content

Update to std::ranges usage#837

Merged
garth-wells merged 3 commits intoFEniCS:mainfrom
schnellerhase:std_ranges
Jul 2, 2024
Merged

Update to std::ranges usage#837
garth-wells merged 3 commits intoFEniCS:mainfrom
schnellerhase:std_ranges

Conversation

@schnellerhase
Copy link
Contributor

Note currently both std::accumulate and std::reduce which are frequently used in basix do not offer ::ranges equivalents in C++20.

@jhale
Copy link
Member

jhale commented Jul 2, 2024

I'd be interested to see where we are with C++23 support across Basix platforms - enable it and try the ranges::fold_left?

@schnellerhase
Copy link
Contributor Author

I'd be interested to see where we are with C++23 support across Basix platforms - enable it and try the ranges::fold_left?

On this PR or another one maybe?

@garth-wells
Copy link
Member

I'd be interested to see where we are with C++23 support across Basix platforms - enable it and try the ranges::fold_left?

On this PR or another one maybe?

New PR so that this PR doesn’t get held up.

@garth-wells garth-wells added this pull request to the merge queue Jul 2, 2024
Merged via the queue into FEniCS:main with commit 36290ab Jul 2, 2024
@schnellerhase schnellerhase deleted the std_ranges branch July 3, 2024 09:13
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

Successfully merging this pull request may close these issues.

3 participants