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

pcarlini at suse dot de gcc-bugzilla@gcc.gnu.org
Thu Jul 8 14:48:00 GMT 2004


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



More information about the Gcc-bugs mailing list