S
Steven T. Hatton
Anybody looked at this stuff?
http://www.boost.org/libs/filesystem/doc/index.htm
Most of it seems fairly straightforward. If you happen to do thing such as
put ~/code/c++/project in your path, be sure to read up on
boost::filesystem:ath::default_name_check(boost::filesystem::native);
(BTW, C++ should splat the last std::exception to console by _default_!)
IIRC Dietmar mentioned wanting to get suff like the name and filesize from
an fstream. This won't do exactly that. In particular, I don't see a way
of asking an fstream for it's filename. It does have a utility to check
the size of a file, however. You could probably build some kind of smart
file handle with all the pieces.
I'd like to see a generic stream handle that would file I/O and network I/O
uniformly.
http://www.boost.org/libs/filesystem/doc/index.htm
Most of it seems fairly straightforward. If you happen to do thing such as
put ~/code/c++/project in your path, be sure to read up on
boost::filesystem:ath::default_name_check(boost::filesystem::native);
(BTW, C++ should splat the last std::exception to console by _default_!)
IIRC Dietmar mentioned wanting to get suff like the name and filesize from
an fstream. This won't do exactly that. In particular, I don't see a way
of asking an fstream for it's filename. It does have a utility to check
the size of a file, however. You could probably build some kind of smart
file handle with all the pieces.
I'd like to see a generic stream handle that would file I/O and network I/O
uniformly.