Sprout/sprout/index_tuple/make_indexes.hpp

25 lines
782 B
C++
Raw Normal View History

2013-08-08 18:54:33 +09:00
/*=============================================================================
Copyright (c) 2011-2013 Bolero MURAKAMI
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 22:59:02 +09: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 13:39:26 +09:00
template<typename Seq>
inline SPROUT_CONSTEXPR typename Seq::type
2012-10-06 00:58:56 +09:00
make_indexes() {
2013-03-31 13:39:26 +09:00
return typename Seq::type();
2012-04-04 22:59:02 +09:00
}
} // namespace sprout
#endif // #ifndef SPROUT_INDEX_TUPLE_MAKE_INDEXES_HPP