Boost logo

Boost Users :

Subject: [Boost-users] [iostreams] Seeking with using stream<file_descriptor>::seekp() failes
From: Timothy Madden (terminatorul_at_[hidden])
Date: 2010-09-27 06:07:30


Hello

Why do I get 'debug assertion failed: initialized_' when I try to seek
on a boost::filesystem::stream<file_descriptor> ?

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.

I have boost 1.44.0, VS 2008, Win7

Thank you,
Timothy Madden


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net