mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-25 00:25:50 +08:00
testsuite_tr1.h: Add missing include; use std::__are_same.
2006-01-14 Paolo Carlini <pcarlini@suse.de> * testsuite/testsuite_tr1.h: Add missing include; use std::__are_same. From-SVN: r109705
This commit is contained in:
parent
9b61327b89
commit
ab44b018f6
@ -1,3 +1,7 @@
|
||||
2006-01-14 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
* testsuite/testsuite_tr1.h: Add missing include; use std::__are_same.
|
||||
|
||||
2006-01-14 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
* testsuite/tr1/8_c_compatibility/complex/overloads_int.cc:
|
||||
|
@ -31,6 +31,8 @@
|
||||
#ifndef _GLIBCXX_TESTSUITE_TR1_H
|
||||
#define _GLIBCXX_TESTSUITE_TR1_H
|
||||
|
||||
#include <bits/cpp_type_traits.h>
|
||||
|
||||
namespace __gnu_test
|
||||
{
|
||||
// For tr1/type_traits.
|
||||
@ -167,7 +169,7 @@ namespace __gnu_test
|
||||
|
||||
// For use in 8_c_compatibility.
|
||||
template<typename R, typename T>
|
||||
typename std::__enable_if<bool, std::tr1::is_same<R, T>::value>::__type
|
||||
typename std::__enable_if<bool, std::__are_same<R, T>::__value>::__type
|
||||
check_ret_type(T)
|
||||
{ return true; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user