summaryrefslogtreecommitdiffstats
path: root/libcxx
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx')
-rw-r--r--libcxx/include/type_traits5
1 files changed, 5 insertions, 0 deletions
diff --git a/libcxx/include/type_traits b/libcxx/include/type_traits
index 47f9334a51d..29228395fb8 100644
--- a/libcxx/include/type_traits
+++ b/libcxx/include/type_traits
@@ -1072,6 +1072,11 @@ struct __uncvref {
typedef typename remove_cv<typename remove_reference<_Tp>::type>::type type;
};
+template <class _Tp>
+struct __unconstref {
+ typedef typename remove_const<typename remove_reference<_Tp>::type>::type type;
+};
+
// __is_same_uncvref
template <class _Tp, class _Up>
OpenPOWER on IntegriCloud