22 #ifndef GEARS_ADL_GET_HPP
23 #define GEARS_ADL_GET_HPP
34 template<
size_t N,
typename T>
35 constexpr
auto adl_get(T&& t) -> decltype(get<N>(std::declval<T>())) {
36 return get<N>(std::forward<T>(t));
55 template<
size_t N,
typename T>
56 constexpr
auto get(T&& t) -> decltype(detail::adl_get<N>(std::declval<T>())) {
57 return detail::adl_get<N>(std::forward<T>(t));
62 #endif // GEARS_ADL_GET_HPP