
9 May
2005
9 May
'05
8:22 a.m.
On Mon, May 09, 2005 at 12:05:35PM +1000, Mathew Robertson wrote:
I'm only partially convinced. How useful is knowing that you can ifstream a directory? The only cases I can think of are so system specific that I have trouble seeing them in the context of Boost.Filesystem.
ReiserFS version 4 supports opening a directory as a file. eg:
FreeBSD and Solaris both allow opening a directory (read-only) with open(2) and reading from it with read(2) on their default FS types. If you know the format of the directory and want to write a non-portable app that reads it directly you could use an ifstream to do so, in theory. jon