OSDN Git Service

* bits/type_traits.h (_Bool): Removed this type.
authorbrendan <brendan@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 20 Oct 2001 15:42:39 +0000 (15:42 +0000)
committerbrendan <brendan@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 20 Oct 2001 15:42:39 +0000 (15:42 +0000)
(__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<false>.
* src/misc-inst.cc (__uninitialized_fill_n_aux,
__uninitialized_copy_aux): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46383 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/include/bits/type_traits.h

index 2fd78ba..ff5f5a1 100644 (file)
@@ -82,10 +82,8 @@ template <class _Tp> inline void copy(_Tp* __source,_Tp* __destination,int __n)
 }
 */
 
-
-template <bool _Truth> struct _Bool {};
-typedef _Bool<true>  __true_type;
-typedef _Bool<false> __false_type;
+struct __true_type {};
+struct __false_type {};
 
 template <class _Tp>
 struct __type_traits {