mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-03-01 18:26:24 +08:00
use EIGEN_CPLUSPLUS instead of checking cpp version
This commit is contained in:
parent
122be167cd
commit
e52ac76ca3
@ -325,7 +325,7 @@ class pointer_based_stl_iterator {
|
||||
public:
|
||||
typedef Index difference_type;
|
||||
typedef typename XprType::Scalar value_type;
|
||||
#if __cplusplus >= 202002L
|
||||
#if EIGEN_CPLUSPLUS >= 202002L
|
||||
typedef std::conditional_t<XprType::InnerStrideAtCompileTime == 1, std::contiguous_iterator_tag,
|
||||
std::random_access_iterator_tag>
|
||||
iterator_category;
|
||||
|
Loading…
Reference in New Issue
Block a user