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?
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.
---
Roy
------------------------------------------------------------------------------
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