
16 Aug
2010
16 Aug
'10
1:59 p.m.
On Sat, Aug 14, 2010 at 6:20 AM, Daniel James <dnljms@gmail.com> wrote:
The problem is that filesystem v3's stream extractor treats spaces as separators (which is the right thing to do IMO), so it only extracts "file"...
#define BOOST_FILESYSTEM_VERSION 3 #include <boost/filesystem.hpp> #include <iostream> int main() { boost::filesystem::path p("file name"); std::cout << p; return 0; } The output is "file name". Could you be forgetting #define BOOST_FILESYSTEM_VERSION 3? For 1.44.0, the default is still version 2, and for 1.44.0 that produces file name without the quotes. --Beman