aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/__fwd/tuple.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/__fwd/tuple.h')
-rw-r--r--libcxx/include/__fwd/tuple.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libcxx/include/__fwd/tuple.h b/libcxx/include/__fwd/tuple.h
index fb922b2..39ed94d 100644
--- a/libcxx/include/__fwd/tuple.h
+++ b/libcxx/include/__fwd/tuple.h
@@ -26,6 +26,11 @@ struct tuple_element;
template <class...>
class tuple;
+template <size_t _Ip, class... _Tp>
+struct tuple_element<_Ip, tuple<_Tp...> > {
+ using type _LIBCPP_NODEBUG = __type_pack_element<_Ip, _Tp...>;
+};
+
template <class>
struct tuple_size;