From: Brendan Kehoe Date: Sat, 20 Oct 2001 15:42:39 +0000 (-0400) Subject: type_traits.h (_Bool): Removed this type. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=149956644195b2c388bdd748b4c14c571e6054fa;p=gcc.git type_traits.h (_Bool): Removed this type. * bits/type_traits.h (_Bool): Removed this type. (__true_type, __false_type): Change to be plain structs. * src/string-inst.cc (__destroy_aux): Change third parm to be __false_type instead of _Bool. * src/misc-inst.cc (__uninitialized_fill_n_aux, __uninitialized_copy_aux): Likewise. From-SVN: r46383 --- diff --git a/libstdc++-v3/include/bits/type_traits.h b/libstdc++-v3/include/bits/type_traits.h index 2fd78ba0eeb..ff5f5a1fb27 100644 --- a/libstdc++-v3/include/bits/type_traits.h +++ b/libstdc++-v3/include/bits/type_traits.h @@ -82,10 +82,8 @@ template inline void copy(_Tp* __source,_Tp* __destination,int __n) } */ - -template struct _Bool {}; -typedef _Bool __true_type; -typedef _Bool __false_type; +struct __true_type {}; +struct __false_type {}; template struct __type_traits {