Boost logo

Boost Users :

Subject: Re: [Boost-users] [iostreams?] Working with files larger than 4gb.
From: KSpam (keesling_spam_at_[hidden])
Date: 2008-11-17 02:14:54


Raindog,

On Sunday 16 November 2008 17:41:32 Raindog wrote:
> To my surprise, the implementation of the STL shipped with VC9 does not
> support files larger than 4GB. I was pretty surprised and couldn't find
> anything on the web to the contrary. So I was wondering if boost has any
> hidden libraries that might assist in solving my problem.

Yes, it is surprising :-)

You can use boost::iostreams::file_descriptor to read large files. If you
need to keep track of positions in the file, you will want to use
boost::iostreams::stream_offset.

Hope This Helps,
Justin


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