mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-06 14:14:46 +08:00
add a generic EIGEN_HAS_CXX11
This commit is contained in:
parent
ca6a2a5248
commit
97feea9d39
@ -356,6 +356,13 @@
|
|||||||
#define EIGEN_MAX_CPP_VER 99
|
#define EIGEN_MAX_CPP_VER 99
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if EIGEN_MAX_CPP_VER>=11 && defined(__cplusplus) && (__cplusplus >= 201103L)
|
||||||
|
#define EIGEN_HAS_CXX11 1
|
||||||
|
#else
|
||||||
|
#define EIGEN_HAS_CXX11 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
// Do we support r-value references?
|
// Do we support r-value references?
|
||||||
#ifndef EIGEN_HAS_RVALUE_REFERENCES
|
#ifndef EIGEN_HAS_RVALUE_REFERENCES
|
||||||
#if EIGEN_MAX_CPP_VER>=11 && \
|
#if EIGEN_MAX_CPP_VER>=11 && \
|
||||||
|
Loading…
Reference in New Issue
Block a user