system_error (is_error_code_enum): Use identifier _Tp instead of _T to avoid conflict with system macro on Darwin.

* include/std/system_error (is_error_code_enum): Use identifier
	_Tp instead of _T to avoid conflict with system macro on Darwin.
	(is_error_condition_enum): Likewise.

From-SVN: r137529
This commit is contained in:
Roger Sayle 2008-07-06 17:38:08 +00:00 committed by Roger Sayle
parent 35cbb29915
commit c9faf4654f
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2008-07-06 Roger Sayle <roger@eyesopen.com>
* include/std/system_error (is_error_code_enum): Use identifier
_Tp instead of _T to avoid conflict with system macro on Darwin.
(is_error_condition_enum): Likewise.
2008-07-05 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/postypes.h: Do not include <stdint.h>.

View File

@ -53,7 +53,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
class system_error;
/// is_error_code_enum
template<typename _T>
template<typename _Tp>
struct is_error_code_enum : public false_type { };
template<>
@ -61,7 +61,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
: public true_type { };
/// is_error_condition_enum
template<typename _T>
template<typename _Tp>
struct is_error_condition_enum : public false_type { };
template<>