On Wed, Aug 28, 2013 at 4:31 PM, Roy Stogner <[email protected]>wrote:
> > On Wed, 28 Aug 2013, John Peterson wrote: > > Agreed. Would using a std::istringstream instead also fix the problem? >> > > istringstream is for string->data conversions only, isn't it? Not > data->string? > Right, I should have said ostringstream. I tried it though and it has exactly the same problem. > Anyway, istringstream is probably the *reason* for the problem - > that's the case where it makes perfect sense to initialize the > underlying buffer with a string and start your cursor at the > beginning of the buffer. For ostringstream I think the extra << call > is the natural way to go. > Yes, will commit that now. -- John ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
