This commit is contained in:
Christian Zimmermann 2020-08-30 17:41:22 +02:00
parent 8168e253a4
commit a80e9271c8

View file

@ -0,0 +1,36 @@
#ifndef __high_level_operation_h__
#define __high_level_operation_h__
#include "base_def.h"
#include "dynamic_operation.h"
namespace MultiArrayTools
{
template <class DOp>
class HLOBuilderBase
{
public:
virtual DOp mkDOp() const = 0;
virtual DynamicExpression mkGetExpr() const = 0;
};
template <class DOp, class Op>
class HLOBuilder : public HLOBuilderBase<DOp>
{
private:
Op mOp;
public:
// ...
HLOBuilder(const Op& op) : mOp(op) {}
auto operator*(const HLOBuilderBase<DOp>& in)
{
}
}
}
#endif