Add evaluator for Ref

This commit is contained in:
Gael Guennebaud 2014-02-18 13:30:16 +01:00
parent a08cba6b5f
commit 1b5de5a37b

View File

@ -647,6 +647,19 @@ struct evaluator<Map<PlainObjectType, MapOptions, StrideType> >
{ }
};
// -------------------- Ref --------------------
template<typename PlainObjectType, int RefOptions, typename StrideType>
struct evaluator<Ref<PlainObjectType, RefOptions, StrideType> >
: public evaluator<MapBase<Ref<PlainObjectType, RefOptions, StrideType> > >
{
typedef Ref<PlainObjectType, RefOptions, StrideType> XprType;
evaluator(const XprType& map)
: evaluator<MapBase<XprType> >(map)
{ }
};
// -------------------- Block --------------------
template<typename ArgType, int BlockRows, int BlockCols, bool InnerPanel,