From cc743c37a7fffc72c809aed39e75385a34502ece Mon Sep 17 00:00:00 2001 From: Daniel Wallin Date: Fri, 1 Aug 2014 20:40:49 +0200 Subject: [PATCH] Add missing index_tuple.hpp header. --- luabind/detail/index_tuple.hpp | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 luabind/detail/index_tuple.hpp diff --git a/luabind/detail/index_tuple.hpp b/luabind/detail/index_tuple.hpp new file mode 100644 index 0000000..fd8eb4e --- /dev/null +++ b/luabind/detail/index_tuple.hpp @@ -0,0 +1,35 @@ +// Copyright Daniel Wallin 2010. Use, modification and distribution is +// subject to the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef LUABIND_DETAIL_INDEX_TUPLE_100629_HPP +# define LUABIND_DETAIL_INDEX_TUPLE_100629_HPP + +namespace luabind { namespace detail { + +template +struct index_tuple +{}; + +template +struct make_index_tuple_aux; + +template +struct make_index_tuple_aux > + : make_index_tuple_aux > +{}; + +template +struct make_index_tuple_aux<0, I, index_tuple > +{ + typedef index_tuple type; +}; + +template +struct make_index_tuple + : make_index_tuple_aux > +{}; + +}} // namespace luabind::detail + +#endif // LUABIND_DETAIL_INDEX_TUPLE_100629_HPP -- 2.11.4.GIT