From d8a67294aee24b94e9d84d9dcd0657ebad86f25b Mon Sep 17 00:00:00 2001
From: Simon Praetorius <simon.praetorius@tu-dresden.de>
Date: Thu, 21 Mar 2019 10:00:24 +0100
Subject: [PATCH] make tuple_size and tuple_element a class

---
 src/amdis/common/Range.hpp | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/amdis/common/Range.hpp b/src/amdis/common/Range.hpp
index 69f3d79d..6464a002 100644
--- a/src/amdis/common/Range.hpp
+++ b/src/amdis/common/Range.hpp
@@ -57,12 +57,13 @@ namespace AMDiS
 namespace std
 {
   template <class Int, Int I0, Int I1>
-  struct tuple_size<AMDiS::Impl::range_impl<Int,I0,I1>>
-      : std::integral_constant<std::size_t, std::size_t(I1-I0)> {};
+  class tuple_size<AMDiS::Impl::range_impl<Int,I0,I1>>
+      : public std::integral_constant<std::size_t, std::size_t(I1-I0)> {};
 
   template <std::size_t I, class Int, Int I0, Int I1>
-  struct tuple_element<I,AMDiS::Impl::range_impl<Int,I0,I1>>
+  class tuple_element<I,AMDiS::Impl::range_impl<Int,I0,I1>>
   {
+  public:
     using type = Int;
   };
 
-- 
GitLab