This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
libstdc++/3740: typo in ostringstream constructor
- To: gcc-gnats at gcc dot gnu dot org
- Subject: libstdc++/3740: typo in ostringstream constructor
- From: kenny dot simpson at gs dot com
- Date: 19 Jul 2001 19:10:31 -0000
- Cc: theonetruekenny at yahoo dot com
- Reply-To: kenny dot simpson at gs dot com
>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: