Patch to remove _Bool from type_traits.h
Stephen M. Webb
stephen@bregmasoft.com
Tue Oct 16 13:50:00 GMT 2001
This is a quick patch that removes the symbol _Bool from libstdc++
type_traits.h. Causes no change in the testsuite results using today's CVS.
2001-10-16 Stephen M. Webb <stephen@bregmasoft.com>
* include/bits/type_traits.h: Removed definition and use of _Bool.
diff -c -3 -p -r1.7 type_traits.h
*** type_traits.h 2001/06/27 17:09:52 1.7
--- type_traits.h 2001/10/16 20:32:56
*************** template <class _Tp> inline void copy(_T
*** 83,91 ****
*/
! template <bool _Truth> struct _Bool {};
! typedef _Bool<true> __true_type;
! typedef _Bool<false> __false_type;
template <class _Tp>
struct __type_traits {
--- 83,91 ----
*/
! // distinct types representing the presence or absence of traits
! struct __true_type { };
! struct __false_type { };
template <class _Tp>
struct __type_traits {
__
Stephen M. Webb
More information about the Libstdc++
mailing list