#ifndef SPROUT_TUPLE_ARRAY_HPP #define SPROUT_TUPLE_ARRAY_HPP #include #include #include #include #include namespace sprout { namespace tuples { // // get // template T& get(sprout::array& t) SPROUT_NOEXCEPT { static_assert(I < N, "get: index out of range"); return t[I]; } template SPROUT_CONSTEXPR T const& get(sprout::array const& t) SPROUT_NOEXCEPT { static_assert(I < N, "get: index out of range"); return t[I]; } template T&& get(sprout::array&& t) SPROUT_NOEXCEPT { return std::move(sprout::tuples::get(t)); } } // namespace tuples } // namespace sprout #endif // #ifndef SPROUT_TUPLE_TUPLE_COMPARISON_HPP