Question/problem related to _Bool in type_traits.h

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


Carlo Wood <carlo@alinoe.com> writes:

| Why not removing the '#define _Bool   bool' from 3.0's stdbool.h?

Tha won't solve our problem.

| I don't think people should use _Bool in user applications when
| compiling C++ programs with 3.x?  They should use 'bool' that is
| the whole point of stdbool.h, so you can use 'bool' regardless.

But C++ gets mixed with C99 in real world.

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



More information about the Libstdc++ mailing list