Boost logo

Boost Users :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2004-08-17 17:14:53


"Delfin Rojas" <drojas_at_[hidden]> wrote in message
news:200408172140.i7HLeBjj028031_at_patti.moodlogic.com...
> Hi Carlo,
>
> I just wanted to point out native_file_string is part of
> boost::filesystem::path and copy_file and rename_file (actually
called
> rename) are part of boost::filesystem (operations.hpp).
>
> As far as file size I think you can get it from the stream.

Yes, but std::streamoff is not guaranteed to be large enough to hold
the size of really huge files. operations.hpp in the current CVS
contains this:

   boost::intmax_t file_size( const path & ph );

Jonathan


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