summaryrefslogtreecommitdiffstats
path: root/libcxx/include
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-03-16 20:32:07 +0000
committerEric Fiselier <eric@efcs.ca>2016-03-16 20:32:07 +0000
commitc32ee0476b7643bf92efcd3b3763b3d625544b9f (patch)
tree2cd2d3e131b466c8ad87e6a23c4a6ab0bfee4355 /libcxx/include
parentef160de3e5af3c8e51928fbe7b096af3d9471880 (diff)
downloadbcm5719-llvm-c32ee0476b7643bf92efcd3b3763b3d625544b9f.tar.gz
bcm5719-llvm-c32ee0476b7643bf92efcd3b3763b3d625544b9f.zip
Add __unconstref for future use
llvm-svn: 263659
Diffstat (limited to 'libcxx/include')
-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