projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef160de
)
Add __unconstref for future use
author
Eric Fiselier
<eric@efcs.ca>
Wed, 16 Mar 2016 20:32:07 +0000
(20:32 +0000)
committer
Eric Fiselier
<eric@efcs.ca>
Wed, 16 Mar 2016 20:32:07 +0000
(20:32 +0000)
llvm-svn: 263659
libcxx/include/type_traits
patch
|
blob
|
history
diff --git
a/libcxx/include/type_traits
b/libcxx/include/type_traits
index
47f9334
..
2922839
100644
(file)
--- 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>