minor compilation fixes for Sun CC and ICC

This commit is contained in:
Gael Guennebaud
2009-07-20 13:27:41 +02:00
parent 4c85fa8c73
commit 4375c043ac
4 changed files with 24 additions and 17 deletions

View File

@@ -178,7 +178,14 @@ template<typename Derived> class MapBase
}
using Base::operator*=;
using Base::operator+=;
template<typename Lhs,typename Rhs>
Derived& operator+=(const Flagged<Product<Lhs,Rhs,CacheFriendlyProduct>, 0, EvalBeforeNestingBit | EvalBeforeAssigningBit>& other)
{ return Base::operator+=(other); }
template<typename Lhs,typename Rhs>
Derived& operator-=(const Flagged<Product<Lhs,Rhs,CacheFriendlyProduct>, 0, EvalBeforeNestingBit | EvalBeforeAssigningBit>& other)
{ return Base::operator-=(other); }
template<typename OtherDerived>
Derived& operator+=(const MatrixBase<OtherDerived>& other)