public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* libstdc++/3740: typo in ostringstream constructor
@ 2001-07-19 12:16 kenny.simpson
  0 siblings, 0 replies; 3+ messages in thread
From: kenny.simpson @ 2001-07-19 12:16 UTC (permalink / raw)
  To: gcc-gnats; +Cc: theonetruekenny

>Number:         3740
>Category:       libstdc++
>Synopsis:       typo in ostringstream constructor
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 19 12:16:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     kenny.simpson@gs.com
>Release:        20010716 snapshot
>Organization:
>Environment:
source code
>Description:
in line 280 of bits/std_sstream.h I see:
   basic_ostringstream(const __string_type __str,
                                         ^^^

but for istringstream and stringstream I see:
   basic_stringstream(const __string_type& __str,
   basic_istringstream(const __string_type& __str,
>How-To-Repeat:
observe line 280 in bits/std_sstream.h
>Fix:
Add '&' to ostringstream constructor's parameter.
>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: libstdc++/3740: typo in ostringstream constructor
@ 2001-10-07 12:57 rodrigc
  0 siblings, 0 replies; 3+ messages in thread
From: rodrigc @ 2001-10-07 12:57 UTC (permalink / raw)
  To: bkoz, gcc-bugs, gcc-prs, kenny.simpson, theonetruekenny

Synopsis: typo in ostringstream constructor

State-Changed-From-To: feedback->closed
State-Changed-By: rodrigc
State-Changed-When: Sun Oct  7 12:56:59 2001
State-Changed-Why:
    Fixed.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3740&database=gcc


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: libstdc++/3740: typo in ostringstream constructor
@ 2001-08-24 11:31 bkoz
  0 siblings, 0 replies; 3+ messages in thread
From: bkoz @ 2001-08-24 11:31 UTC (permalink / raw)
  To: bkoz, gcc-bugs, gcc-prs, kenny.simpson, nobody, theonetruekenny

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  <kenny.simpson@gs.com>
    
    	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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-10-07 12:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-19 12:16 libstdc++/3740: typo in ostringstream constructor kenny.simpson
2001-08-24 11:31 bkoz
2001-10-07 12:57 rodrigc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).