#ifndef SPROUT_UTILITY_PAIR_FIRST_HPP #define SPROUT_UTILITY_PAIR_FIRST_HPP #include #include #include #include namespace sprout { // // first // template inline SPROUT_CONSTEXPR auto first(T&& t) SPROUT_NOEXCEPT_EXPR(SPROUT_NOEXCEPT_EXPR(sprout::tuples::get<0>(sprout::forward(t)))) -> decltype(sprout::tuples::get<0>(sprout::forward(t))) { return sprout::tuples::get<0>(sprout::forward(t)); } } // namespace sprout #endif // #ifndef SPROUT_UTILITY_PAIR_FIRST_HPP