This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/16396] ostream << volatile char* converts to ostream << bool


------- Additional Comments From pcarlini at suse dot de  2004-07-08 14:48 -------
Gaby, could you please have a look at this PR? I believe we can close it as 
not a bug (FWIW, Icc8.0 also converts to bool and outputs 1), but would
appreciate if you could explain in simple, yet technically sound, terms, why
among all the operator<< that we implement (27.6.2.1) operator<<(bool) is
the right one for a volatile char* type. Thanks in advance. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |gdr at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16396


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