kokkos / mdspan

Reference implementation of mdspan targeting C++23
Other
413 stars 69 forks source link

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

Closed oliverlee closed 9 months ago

oliverlee commented 9 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.