Author: ericwf
Date: Fri Jan 22 00:25:47 2016
New Revision: 258491

URL: http://llvm.org/viewvc/llvm-project?rev=258491&view=rev
Log:
Add __uncvref type for use in later patches

Modified:
    libcxx/trunk/include/type_traits

Modified: libcxx/trunk/include/type_traits
URL: 
http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/type_traits?rev=258491&r1=258490&r2=258491&view=diff
==============================================================================
--- libcxx/trunk/include/type_traits (original)
+++ libcxx/trunk/include/type_traits Fri Jan 22 00:25:47 2016
@@ -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(...);


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to