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
> Hi Carlo,
> I just wanted to point out native_file_string is part of
> boost::filesystem::path and copy_file and rename_file (actually
> 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 );


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at