From c66d1f5c0af70161f4ad4c4175f4280e95b55dfd Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Sun, 19 Jun 2016 11:58:16 +0200 Subject: Initial commit of a mz-header parser. --- fusion-utils/index_list.hpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 fusion-utils/index_list.hpp (limited to 'fusion-utils/index_list.hpp') diff --git a/fusion-utils/index_list.hpp b/fusion-utils/index_list.hpp new file mode 100644 index 0000000..f363dc3 --- /dev/null +++ b/fusion-utils/index_list.hpp @@ -0,0 +1,16 @@ +#pragma once + +template +struct indices { + typedef indices next; +}; + +template +struct build_indices { + typedef typename build_indices::type::next type; +}; + +template<> +struct build_indices<0> { + typedef indices<> type; +}; -- cgit v1.2.3-70-g09d2