mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-14 04:35:57 +08:00
bug #821: workaround MSVC 2013 issue with using Base::Base::operator=
This commit is contained in:
parent
dcad508986
commit
7dad5f797e
@ -243,7 +243,11 @@ template<typename Derived> class MapBase<Derived, WriteAccessors>
|
|||||||
return derived();
|
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
|
#undef EIGEN_STATIC_ASSERT_INDEX_BASED_ACCESS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user