Boost logo

Boost :

Subject: Re: [boost] [filesystem] what happened to default_name_check()?
From: Yechezkel Mett (ymett.on.boost_at_[hidden])
Date: 2010-12-29 06:16:35


On Tue, Dec 28, 2010 at 8:37 PM, John Maddock <boost.regex_at_[hidden]> wrote:
> I'm in the process of porting bcp to Filesystem V3, as the change of default
> to V3 has broken bcp in Trunk.
>
> One thing that has come up is default_name_check() which has been removed.
> bcp set that to a "do nothing" check since it deals only with files that
> already exist, so it really does not want to be told that a file name isn't
> portable! :-)
>
> The tests seem to pass OK without this, but should I be worried about this?
> I couldn't find a rationale for the change in the docs...

Automatic name checking has been removed because it was found to be
more annoying than useful according to
http://www.boost.org/doc/libs/1_45_0/libs/filesystem/v3/doc/faq.htm

Manual name checking is provided by the functions at
http://www.boost.org/doc/libs/1_45_0/libs/filesystem/v3/doc/portability_guide.htm

Yechezkel Mett


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