This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: libstdc++/2773: "allocator" not used by stringstream!


The following reply was made to PR libstdc++/2773; it has been noted by GNATS.

From: Carlo Wood <carlo@alinoe.com>
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: libstdc++/2773: "allocator" not used by stringstream!
Date: Tue, 8 May 2001 16:31:27 +0200

 Something went wrong with the copy and paste :/
 Please accept the following correction:
 
 On Tue, May 08, 2001 at 02:24:19PM -0000, carlo@alinoe.com wrote:
 > >Synopsis:       "allocator" not used by stringstream!
 
 >   print("Writing 10000013 characters to stringstream:\n");
 >   for (int i = 0; i < 100000; ++i)
 >     ss << "01234567890123456789012345678901234567890123456789012345678901234567890123456789012  ss << "Test " << 123.456 << '\n';
 
 Should be:
 
   print("Writing 10000013 characters to stringstream:\n");
   for (int i = 0; i < 100000; ++i)
     ss << "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789";
   ss << "Test " << 123.456 << '\n';
 
 
 
 -- 
 Carlo Wood <carlo@alinoe.com>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]