martinmoene / span-lite

span lite - A C++20-like span for C++98, C++11 and later in a single-file header-only library
Boost Software License 1.0
495 stars 40 forks source link

Add tuple_element_t (C++11 and newer) #51

Closed martinmoene closed 4 years ago

martinmoene commented 4 years ago
template <std::size_t I, class T>
using tuple_element_t = typename tuple_element<I, T>::type;