ename internal function test() to avoid name clashes with
common macros. This fixes ports like mysql 5.6 which has an internal macro called test. Approved by: re (gjb) Discussed with: theraven
This commit is contained in:
parent
505cdd82bf
commit
ac64499012
@ -965,13 +965,13 @@ public:
|
||||
|
||||
namespace __has_pointer_type_imp
|
||||
{
|
||||
template <class _Up> static __two test(...);
|
||||
template <class _Up> static char test(typename _Up::pointer* = 0);
|
||||
template <class _Up> static __two __test(...);
|
||||
template <class _Up> static char __test(typename _Up::pointer* = 0);
|
||||
}
|
||||
|
||||
template <class _Tp>
|
||||
struct __has_pointer_type
|
||||
: public integral_constant<bool, sizeof(__has_pointer_type_imp::test<_Tp>(0)) == 1>
|
||||
: public integral_constant<bool, sizeof(__has_pointer_type_imp::__test<_Tp>(0)) == 1>
|
||||
{
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user