diff options
Diffstat (limited to 'Eigen/src/Core/MapBase.h')
-rw-r--r-- | Eigen/src/Core/MapBase.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Eigen/src/Core/MapBase.h b/Eigen/src/Core/MapBase.h index 3c67edae5..5d51548cd 100644 --- a/Eigen/src/Core/MapBase.h +++ b/Eigen/src/Core/MapBase.h @@ -243,7 +243,11 @@ template<typename Derived> class MapBase<Derived, WriteAccessors> return derived(); } - using Base::Base::operator=; + // In theory MapBase<Derived, ReadOnlyAccessors> should not make a using Base::operator=, + // and thus we should directly do: using Base::Base::operator=; + // However, this would confuse recent MSVC 2013 (bug 821), and since MapBase<Derived, ReadOnlyAccessors> + // has operator= to make ICC 11 happy, we can also make MSVC 2013 happy as follow: + using Base::operator=; }; #undef EIGEN_STATIC_ASSERT_INDEX_BASED_ACCESS |