From mboxrd@z Thu Jan 1 00:00:00 1970 From: kenny.simpson@gs.com To: gcc-gnats@gcc.gnu.org Cc: theonetruekenny@yahoo.com Subject: libstdc++/3740: typo in ostringstream constructor Date: Thu, 19 Jul 2001 12:16:00 -0000 Message-id: <20010719191031.24414.qmail@sourceware.cygnus.com> X-SW-Source: 2001-07/msg00532.html List-Id: >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: