Boost logo

Boost :

From: Stewart, Robert (stewart_at_[hidden])
Date: 2002-03-07 16:39:22


From: Jan Langer [mailto:jan_at_[hidden]]
>
> actually i want no root_directory () function at all, but a
> hierarchy_iterator returning '/' for posix as a single element and all
> drive letters beginning with 'a:' (if it exists) for win. this was
> proposed by beman in the initial requirements (at least i
> understood it
> this way) and i thought that its a quite good idea. in my last posting
> about this problem i just wanted to make clear how unclear
> and confusing
> a directory_iterator (root_directory ()) solution can be. as this
> discussion proves, everyone has another opinion on this whereas a
> hierarchy_iterator leaves little room for guessing what i returns on
> each platform.

So you're saying that hierarchy_iterator is something that you instantiate
to find what things are available, on the local filesystem, to iterate with
directory_iterator?

Rob
Susquehanna International Group, LLP
http://www.sig.com


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk