FEniCS / basix

FEniCSx finite element basis evaluation library
https://fenicsproject.org
MIT License
89 stars 34 forks source link

Update to std::ranges usage #837

Closed schnellerhase closed 4 months ago

schnellerhase commented 4 months ago

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

jhale commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

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.