mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-14 04:35:57 +08:00
Revert "fix compilation issue with gcc < 10 and -std=c++2a"
This reverts commit b5d218d8574c665d7d4ac3ac21f7bf15b8dabbfa
This commit is contained in:
parent
b5d218d857
commit
3e71c621c9
@ -477,7 +477,7 @@ template<typename T, std::size_t N> struct array_size<std::array<T,N> > {
|
||||
*
|
||||
* For C++20, this function just forwards to `std::ssize`, or any ADL discoverable `ssize` function.
|
||||
*/
|
||||
#if EIGEN_COMP_CXXVER < 20 || EIGEN_GNUC_AT_MOST(9,4)
|
||||
#if EIGEN_COMP_CXXVER < 20
|
||||
template <typename T>
|
||||
EIGEN_CONSTEXPR auto index_list_size(const T& x) {
|
||||
using R = std::common_type_t<std::ptrdiff_t, std::make_signed_t<decltype(x.size())>>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user