Question/problem related to _Bool in type_traits.h

Gabriel Dos Reis gdr@codesourcery.com
Tue Oct 16 07:28:00 GMT 2001


"Stephen M. Webb" <stephen@bregmasoft.com> writes:

| 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.

We may want to coordiante our efforts.  I fully agree with your
analysis.  

However, at some point, the front-end g++ should be able to provide
such information (for free) at the library disposal. 

-- Gaby
CodeSourcery, LLC                       http://www.codesourcery.com



More information about the Libstdc++ mailing list