Closed ohhmm closed 7 months ago
Could you please provide a reproducer?
C:\Program Files on Windows deserialized to C:\Program
@ohhmm to what type are you deserializing? Is that std::string?
Is the path quoted or not? All the above cases are covered with tests:
What version of Boost are you using?
I reproduced it using boost::program_options where option type is boost::filesystem::path. Tried it with multiple versions of boost on Windows. Tried with both quotations enabled/disabled.
@ohhmm is your case not covered by the tests in https://github.com/boostorg/lexical_cast/blob/3433c34b43969f2d3fc7309d895ef66019e3cfc1/test/filesystem_test.cpp#L35-L51
?
If not covered, please provide a reproducer
boost::filesystem::path is being deserialized to the first whitespace occurrence.