summaryrefslogtreecommitdiffhomepage
path: root/compat/meta.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-04-27 20:24:29 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-04-27 20:26:18 +0200
commit61ee4c7dadc8ed09fa5c25880df7a06ee97f1849 (patch)
tree59b9054e714c0e934b2557baff209913520fa0a4 /compat/meta.hpp
parenteb7f23d1c95c4f435a6bc808bbef9e05c551b8eb (diff)
compat/meta: remove duplicate of std::integer_sequence
Diffstat (limited to 'compat/meta.hpp')
-rw-r--r--compat/meta.hpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/compat/meta.hpp b/compat/meta.hpp
index 51e9f238..c33777f4 100644
--- a/compat/meta.hpp
+++ b/compat/meta.hpp
@@ -51,19 +51,6 @@ namespace detail {
{
using type = inst<xs...>;
};
-
- template<typename N, N max, N pos, typename... xs>
- struct index_sequence_
- {
- using part = std::integral_constant<N, pos>;
- using type = typename index_sequence_<N, max, pos+1, xs..., part>::type;
- };
-
- template<typename N, N max, typename... xs>
- struct index_sequence_<N, max, max, xs...>
- {
- using type = std::tuple<xs...>;
- };
} // ns detail