summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-01-22 06:25:47 +0000
committerEric Fiselier <eric@efcs.ca>2016-01-22 06:25:47 +0000
commitd033ad21d027774f19699b88e5c54c8a3ddf9178 (patch)
tree619bbf8ad58d90be1275a5ca06ee63eb172b23d5
parent674d238bcc004196a636ede7cd66819759a8834b (diff)
downloadbcm5719-llvm-d033ad21d027774f19699b88e5c54c8a3ddf9178.tar.gz
bcm5719-llvm-d033ad21d027774f19699b88e5c54c8a3ddf9178.zip
Add __uncvref type for use in later patches
llvm-svn: 258491
-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