This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Question/problem related to _Bool in type_traits.h


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

| On Tue, 16 Oct 2001, Carlo Wood wrote:
| > Why not removing the '#define _Bool   bool' from 3.0's stdbool.h?
| > 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.
| 
| The C++ standard library should not be introducing names into the global
| namespace.  I would consider that an implementation flaw.

>From Standard C++ point of view, _Bool is in the implementation
namespace. 


| I think moving the type_traits names, all of them, into __gcc_cxx:: is worth
| doing regardless.

Agreed.

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]