With C++11 Matrix<float> + Matrix<complex<float>> does not even compile

This commit is contained in:
Gael Guennebaud 2015-02-20 09:32:49 +01:00
parent 3594451ee0
commit 01b8440579

View File

@ -52,7 +52,10 @@ template<int SizeAtCompileType> void mixingtypes(int size = SizeAtCompileType)
mf+mf; mf+mf;
VERIFY_RAISES_ASSERT(mf+md); VERIFY_RAISES_ASSERT(mf+md);
#ifndef EIGEN_HAS_STD_RESULT_OF
// this one does not even compile with C++11
VERIFY_RAISES_ASSERT(mf+mcf); VERIFY_RAISES_ASSERT(mf+mcf);
#endif
// the following do not even compile since the introduction of evaluators // the following do not even compile since the introduction of evaluators
// VERIFY_RAISES_ASSERT(vf=vd); // VERIFY_RAISES_ASSERT(vf=vd);
// VERIFY_RAISES_ASSERT(vf+=vd); // VERIFY_RAISES_ASSERT(vf+=vd);