From: Martin (adrianm_at_[hidden])
Date: 2004-09-10 09:52:09
> Yes, is_accessable() might be useful. But the use cases I can think of are
> a bit theoretical. Anyone else have an opinion? I think I'd like to hear
> about so real-life needs (rather than theoretical or hypothetical needs)
> before deciding.
My real life need is that in Windows there are some files in the root
directory that you can't query the attributes for. Haven't checked the exact
conditions but is_directory will throw for me when iterating over c:\.
My concern is that others might do the same mistake as I did and forget to
specificly put try/catch around is_directory when iterating a directory.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk