kamping-site / kamping

KaMPIng: (Near) zero-overhead MPI wrapper for modern C++
https://kamping-site.github.io/kamping/
GNU Lesser General Public License v3.0
24 stars 0 forks source link

Do not alias `kamping::Span` as `std::span` in C++20 builds. #679

Closed niklas-uhl closed 3 months ago

niklas-uhl commented 3 months ago

This may lead to some unexpected errors, because argument deduction is not allowed for alias templates. See https://godbolt.org/z/oaaMMKeYx.

Previously, we had an explicit check for kamping::Span in resize, which has been removed with the introduction of resize policies.