Commit e9eced48 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Merge branch 'issue/tuple_size_element' into 'master'

make tuple_size and tuple_element a class

See merge request amdis/amdis-core!28
parents c8cc82d6 d8a67294
......@@ -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>>
using type = Int;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment