kokkos / mdspan

Reference implementation of mdspan targeting C++23
Other
398 stars 65 forks source link

remove use of `_v` variable template type traits #310

Closed oliverlee closed 6 months ago

oliverlee commented 6 months ago

_v variable templates (e.g. std::is_same_v) are not available when building for C++14.

I assume C++14 is still supported given https://github.com/kokkos/mdspan/issues/272.

are_valid_indices uses C++17 fold expressions but that only emits a warning when I tested with recent Clang + GCC.