mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-16 03:13:14 +08:00
Fix compilation regarding std::array
This commit is contained in:
parent
eb3d8f68bb
commit
98728312c8
@ -360,6 +360,13 @@ template<typename T, int N> struct array_size<T (&)[N]> {
|
||||
};
|
||||
|
||||
#if EIGEN_HAS_CXX11
|
||||
}}
|
||||
namespace std {
|
||||
template<class T, std::size_t N> struct array;
|
||||
}
|
||||
namespace Eigen {
|
||||
namespace internal {
|
||||
|
||||
template<typename T, std::size_t N> struct array_size<const std::array<T,N> > {
|
||||
enum { value = N };
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user