
16 Feb
2009
16 Feb
'09
5:53 p.m.
Bill David wrote:
2009/2/16 Dmitry Goncharov <dgoncharov@unison.com>
You should invoke m_ss.seekg(ios_base::beg) before each parsing. Also, be careful with to_tm(). It is buggy. See https://svn.boost.org/trac/boost/ticket/1859
But after I do that, both invocations report "do not understand". And why clear can't rewind it?
The function clear doesn't "rewind" the stream, it just clears the flags, like eof. The old stream content is still there. Bo Persson