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