From 01b844057986765d005dd1d3a52a5cba0cfb3f1c Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Fri, 20 Feb 2015 09:32:49 +0100 Subject: With C++11 Matrix + Matrix> does not even compile --- test/mixingtypes.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/mixingtypes.cpp') diff --git a/test/mixingtypes.cpp b/test/mixingtypes.cpp index 048f7255a..71f099bb8 100644 --- a/test/mixingtypes.cpp +++ b/test/mixingtypes.cpp @@ -52,7 +52,10 @@ template void mixingtypes(int size = SizeAtCompileType) mf+mf; 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); +#endif // the following do not even compile since the introduction of evaluators // VERIFY_RAISES_ASSERT(vf=vd); // VERIFY_RAISES_ASSERT(vf+=vd); -- cgit v1.2.3