From 8b64d2c0d5b5733dd576fa2d19d4547a56318088 Mon Sep 17 00:00:00 2001 From: Christian Zimmermann Date: Fri, 6 Aug 2021 10:40:42 +0200 Subject: [PATCH] remove unused code --- src/include/cxz_operation.h | 37 +------------------------------------ 1 file changed, 1 insertion(+), 36 deletions(-) diff --git a/src/include/cxz_operation.h b/src/include/cxz_operation.h index 474f529..694274e 100644 --- a/src/include/cxz_operation.h +++ b/src/include/cxz_operation.h @@ -161,24 +161,6 @@ namespace CNORXZ } }; - template - struct IAccess - { - static constexpr bool ISSTATIC = true; - typedef T value_type; - typedef T in_type; - typedef F Func; - static constexpr size_t VSIZE = sizeof(value_type) / sizeof(in_type); - - template - static inline void f(T* t, size_t pos, const Op& op, ExtType e) - { - F::selfApply(t[pos],op.get(e)); - } - }; - - //template - //using IVAccess = IAccess; template struct IVAccess @@ -201,17 +183,6 @@ namespace CNORXZ template using xxxplus = plus; - template - using IAssign = IAccess>; - - template - using IPlus = IAccess>; - - template - using IVAssign = IVAccess>; - - template - using IVPlus = IVAccess>; // static polymorphism template @@ -338,7 +309,7 @@ namespace CNORXZ virtual std::shared_ptr deepCopy() const override final { - return std::make_shared,Target,OpClass,OIA>>(*this); + return std::make_shared>(*this); } inline void operator()(size_t start = 0); @@ -351,12 +322,6 @@ namespace CNORXZ inline DExt dExtension() const override final; }; - template - using AssignmentExpr2 = AssignmentExpr,PointerAccess,Target,OpClass,OIA>; - - template - using AddExpr = AssignmentExpr,PointerAccess,Target,OpClass,OIA>; - template struct OperationTuple {