/*============================================================================= Copyright (c) 2012 Paul Fultz II seq.h Distributed under 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 BOOST_HOF_GUARD_FUNCTION_DETAIL_SEQ_H #define BOOST_HOF_GUARD_FUNCTION_DETAIL_SEQ_H #include namespace boost { namespace hof { namespace detail { template struct seq { typedef seq type; }; template struct merge_seq; template struct merge_seq, seq> : seq {}; template struct gens : merge_seq< typename gens::type, typename gens::type > {}; template<> struct gens<0> : seq<> {}; template<> struct gens<1> : seq<0> {}; } }} // namespace boost::hof #endif