
27 Sep
2010
27 Sep
'10
5:24 p.m.
On 27.09.2010 13:07, Timothy Madden wrote:
Hello
Why do I get 'debug assertion failed: initialized_' when I try to seek on a boost::filesystem::stream
? I also tried with my own
class seekable_fd: public device<seekable> { protected file_descriptor file_d; //....
};
to be use the device is seekable, and I get the same assert.
It turns out this is the behavior one gets when trying to seek on a closed file ... somehow I managed to implicitly close the file with some wrapper stream that was using it, before the seek ... Timothy Madden