Use void type if stl-style iterators are not supported

This commit is contained in:
Eugene Zhulenev
2018-10-10 10:31:40 -07:00
parent f3130ee1ba
commit 2bf1a31d81
3 changed files with 2 additions and 16 deletions

View File

@@ -594,12 +594,12 @@ template<typename Derived> class DenseBase
typedef typename internal::conditional< IsVectorAtCompileTime,
iterator_type,
internal::not_an_iterator<const Derived>
void
>::type iterator;
typedef typename internal::conditional< IsVectorAtCompileTime,
const_iterator_type,
internal::not_an_iterator<const Derived>
void
>::type const_iterator;
#endif