Sprout/sprout/index_tuple/make_indexes.hpp

25 lines
782 B
C++
Raw Normal View History

2013-08-08 09:54:33 +00:00
/*=============================================================================
Copyright (c) 2011-2017 Bolero MURAKAMI
2013-08-08 09:54:33 +00:00
https://github.com/bolero-MURAKAMI/Sprout
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)
=============================================================================*/
2012-04-04 13:59:02 +00:00
#ifndef SPROUT_INDEX_TUPLE_MAKE_INDEXES_HPP
#define SPROUT_INDEX_TUPLE_MAKE_INDEXES_HPP
#include <sprout/config.hpp>
namespace sprout {
//
// make_indexes
//
2013-03-31 04:39:26 +00:00
template<typename Seq>
inline SPROUT_CONSTEXPR typename Seq::type
2012-10-05 15:58:56 +00:00
make_indexes() {
2013-03-31 04:39:26 +00:00
return typename Seq::type();
2012-04-04 13:59:02 +00:00
}
} // namespace sprout
#endif // #ifndef SPROUT_INDEX_TUPLE_MAKE_INDEXES_HPP