summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libcxx/include/type_traits7
1 files changed, 7 insertions, 0 deletions
diff --git a/libcxx/include/type_traits b/libcxx/include/type_traits
index 3b80a9efa5d..f13e29f971b 100644
--- a/libcxx/include/type_traits
+++ b/libcxx/include/type_traits
@@ -1084,6 +1084,13 @@ declval();
#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
+// __uncvref
+
+template <class _Tp>
+struct __uncvref {
+ typedef typename remove_cv<typename remove_reference<_Tp>::type>::type type;
+};
+
struct __any
{
__any(...);
OpenPOWER on IntegriCloud