Question/problem related to _Bool in type_traits.h

Stephen M. Webb stephen@bregmasoft.com
Tue Oct 16 07:17:00 GMT 2001


On Tue, 16 Oct 2001, Gabriel Dos Reis wrote:
> 
> _Bool is a keyword in C99. The right solution is to ditch _Bool from
> type_traits.h.  I began some work sometime ago with the file
> cpp_type_traits.h. 

Yes, _Bool must go from type_traits. 

I'll look into eliminating type_traits.h entirely in favour of cpp_type_traits.
It's a lot of rote work since they use different traits paradigms, but in the
end should be worth it.  The only down side should be a (marginal) increase
in compile times.

__
Stephen M. Webb



More information about the Libstdc++ mailing list