Boost logo

Boost :

From: Andreas Pokorny (andreas.pokorny_at_[hidden])
Date: 2005-02-20 03:22:14


On Sat, Feb 19, 2005 at 12:41:57PM +0100, Hartmut Kaiser <HartmutKaiser_at_[hidden]> wrote:
> You are right! I haven't realised, that the path::operator/=() implicitly
> calls the path() constructor when used with a string on the right sight:
>
> fs::path p;
> std::string s;
> ...
>
> p /= s; // uses the default name checker here
>
> This problem is fixed now (at least for the Windows environment).
> Thanks!
Thats the most common problem with boost::fs, whats the rationale behind
op/= not using the path checker of the existing path object?

Regards Andreas
 


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