Boost logo

Boost Users :

From: Victor A. Wagner Jr. (vawjr_at_[hidden])
Date: 2004-08-18 00:47:41


At Tuesday 2004-08-17 15:14, you wrote:

>"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.

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_at_[hidden]
>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"


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