14 Aug
2010
14 Aug
'10
10:15 a.m.
On 14 August 2010 11:08, Vladimir Prus
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_castfs::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. Daniel