id summary reporter owner description type status milestone component version severity resolution keywords cc 11898 Input stream operator of a filesystem::path can't handle spaces anonymous Beman Dawes "The operator>> in filesystem::path breaks at spaces as it would for a std::string, whereas spaces can be an integral part of a path. Concretely, the following code {{{ boost::filesystem::path p; std::istringstream(""path/with spaces"") >> p; std::cout << p << std::endl; }}} prints ""path/with"" on OS X 10.11.2. I believe boost::io::quoted is supposed to take care of the spaces in the operator>> implementation {{{ is >> boost::io::quoted(str, static_cast('&')); }}} but this doesn't work on my system. (One of the weird points seems to be that it gets called with two arguments, but its declaration requires three and I can't find a default argument declaration.) Replacing the implementation with {{{ std::getline(is, str); }}} seems to work for me, but I have a feeling that this bypasses some of the necessary logic in boost::io::quoted." Bugs new To Be Determined filesystem Boost 1.58.0 Problem