------- Comment #26 from jason at gcc dot gnu dot org 2007-10-26 17:32 -------
Changed component to libstdc++. This problem should be fixed by adding rvalue
reference support to iostreams; the current working paper calls for
template<class traits>
basic_ostream<char,traits>& operator<<(basic_ostream<char,traits>&& out,
const unsigned char* s);
which should make the original testcase work as expected. Though I find it
surprising that this signature returns an lvalue reference rather than rvalue.
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bkoz at redhat dot com
Component|c++ |libstdc++
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9925