bug #697: make sure empty classes are at the end in case of multiple inheritence

This commit is contained in:
Gael Guennebaud
2014-12-02 14:40:19 +01:00
parent a819fa148d
commit 775f7e5fbb
7 changed files with 11 additions and 12 deletions

View File

@@ -75,12 +75,13 @@ template<typename BinaryOp, typename Lhs, typename Rhs, typename StorageKind>
class CwiseBinaryOpImpl;
template<typename BinaryOp, typename LhsType, typename RhsType>
class CwiseBinaryOp : internal::no_assignment_operator,
class CwiseBinaryOp :
public CwiseBinaryOpImpl<
BinaryOp, LhsType, RhsType,
typename internal::cwise_promote_storage_type<typename internal::traits<LhsType>::StorageKind,
typename internal::traits<RhsType>::StorageKind,
BinaryOp>::ret>
BinaryOp>::ret>,
internal::no_assignment_operator
{
public: