pfor/src/pfor/expression/operand.h

17 lines
350 B
C++

#ifndef PFOR_PFOR_EXPRESSION_OPERAND_H
#define PFOR_PFOR_EXPRESSION_OPERAND_H
#include "expression.h"
#define DECLARE_OP(TYPE, NAME, SIZE, VALUES) \
TYPE NAME##_[SIZE]VALUES; Operand<decltype(NAME##_), class ID##NAME##_> NAME{NAME##_}
namespace pfor {
template<typename T, typename Id>
using Operand = expr::Expression<T, Id, Index>;
}
#endif