Boost logo

Boost Users :

Subject: Re: [Boost-users] Program Options of Filesystem Path's - confused!
From: Daniel James (dnljms_at_[hidden])
Date: 2010-08-14 06:15:56

On 14 August 2010 11:08, Vladimir Prus <vladimir_at_[hidden]> wrote:
> Daniel James wrote:
>> Your test will work, since the filename is quoted as it's written to
>> the stream, and then unquoted as it's extracted. But you'll see the
>> error with:
>>     lexical_cast<fs::wpath>("the path that fails")
>> Does program options ever do that?
> Yes, of course. It takes string from command line, and does lexical_cast on it.
> So, it seems like the only approach is to specialize lexical_cast for wpath/path?

I don't know. I'll take this up in a new thread on the development list.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at