At Tuesday 2004-08-17 15:14, you wrote:
"Delfin Rojas"
wrote in message news:200408172140.i7HLeBjj028031@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.
really? how'd the committee manage to mess that one up? or are you saying some implementations are deficient in their specification of std::streamoff?
operations.hpp in the current CVS contains this:
boost::intmax_t file_size( const path & ph );
Jonathan
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"