Boost logo

Boost :

From: me22 (me22.ca_at_[hidden])
Date: 2006-04-19 12:11:16


On 4/19/06, Walter Landry <wlandry_at_[hidden]> wrote:
> Both of these options make the user learn about things that they
> should not have to learn about. Just get rid of default checking. If
> people want to ensure that all paths that pass through their program
> will be valid on some arbitrary set of filesystems, then they can set
> that themselves. The filesystem library should not be my nanny.
>

The library, however, /should/ make the default thing the right thing,
as it does now.

I think a better option would be to add " If you don't know why this
path is invalid, read
http://boost.org/libs/filesystem/doc/portability_guide.htm#name_check%AD_functions
" to the exception's .what() message in debug mode.

~ SWMc


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