From mboxrd@z Thu Jan 1 00:00:00 1970 From: bkoz@gcc.gnu.org To: bkoz@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, kenny.simpson@gs.com, nobody@gcc.gnu.org, theonetruekenny@yahoo.com Subject: Re: libstdc++/3740: typo in ostringstream constructor Date: Fri, 24 Aug 2001 11:31:00 -0000 Message-id: <20010824183127.10413.qmail@sourceware.cygnus.com> X-SW-Source: 2001-08/msg00634.html List-Id: Synopsis: typo in ostringstream constructor Responsible-Changed-From-To: unassigned->bkoz Responsible-Changed-By: bkoz Responsible-Changed-When: Fri Aug 24 11:31:27 2001 Responsible-Changed-Why: Responsible. State-Changed-From-To: open->feedback State-Changed-By: bkoz State-Changed-When: Fri Aug 24 11:31:27 2001 State-Changed-Why: thanks! Fixed in mainline with: 2001-08-24 Kenny Simpson libstdc++/3740 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor. Index: include/bits/std_sstream.h =================================================================== RCS file: /cvs/gcc/gcc/libstdc++-v3/include/bits/std_sstream.h,v retrieving revision 1.8 diff -c -p -r1.8 std_sstream.h *** std_sstream.h 2001/07/13 20:50:02 1.8 --- std_sstream.h 2001/08/24 18:28:45 *************** namespace std *** 277,283 **** { this->init(&_M_stringbuf); } explicit ! basic_ostringstream(const __string_type __str, ios_base::openmode __mode = ios_base::out) : __ostream_type(NULL), _M_stringbuf(__str, __mode | ios_base::out) { this->init(&_M_stringbuf); } --- 277,283 ---- { this->init(&_M_stringbuf); } explicit ! basic_ostringstream(const __string_type __str&, ios_base::openmode __mode = ios_base::out) : __ostream_type(NULL), _M_stringbuf(__str, __mode | ios_base::out) { this->init(&_M_stringbuf); } http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3740&database=gcc