[Bug libstdc++/17997] C++ ostringstream const char * interpreted as void *(?)

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Thu Oct 14 12:58:00 GMT 2004


------- Additional Comments From bangerth at dealii dot org  2004-10-14 12:58 -------
This has been reported many times. In essence, you cannot use a 
temporary as a stringstream object as in 
  ostringstream() << something; 
The standard doesn't allow this. 
 
W. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|c++                         |libstdc++
         Resolution|                            |INVALID


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



More information about the Gcc-bugs mailing list