mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
use EIGEN_CPLUSPLUS instead of checking cpp version
This commit is contained in:
committed by
Rasmus Munk Larsen
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;
|
||||
|
||||
Reference in New Issue
Block a user