[libcxx] r225527 - K-Ballo found a place where we were using 'V' as a template parameter. Replace with '_Vp' for protection against user-defined macros.
Marshall Clow
mclow.lists at gmail.com
Fri Jan 9 09:03:36 PST 2015
Author: marshall
Date: Fri Jan 9 11:03:36 2015
New Revision: 225527
URL: http://llvm.org/viewvc/llvm-project?rev=225527&view=rev
Log:
K-Ballo found a place where we were using 'V' as a template parameter. Replace with '_Vp' for protection against user-defined macros.
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=225527&r1=225526&r2=225527&view=diff
==============================================================================
--- libcxx/trunk/include/type_traits (original)
+++ libcxx/trunk/include/type_traits Fri Jan 9 11:03:36 2015
@@ -1433,11 +1433,11 @@ template <class _Tp> using make_unsigned
#ifdef _LIBCPP_HAS_NO_VARIADICS
-template <class _Tp, class _Up = void, class V = void>
+template <class _Tp, class _Up = void, class _Vp = void>
struct _LIBCPP_TYPE_VIS_ONLY common_type
{
public:
- typedef typename common_type<typename common_type<_Tp, _Up>::type, V>::type type;
+ typedef typename common_type<typename common_type<_Tp, _Up>::type, _Vp>::type type;
};
template <class _Tp>
More information about the cfe-commits
mailing list