[Boost-bugs] [Boost C++ Libraries] #13296: The directory-separator indicating the root-directory incorrectly handled by lexically_normal on windows

Subject: [Boost-bugs] [Boost C++ Libraries] #13296: The directory-separator indicating the root-directory incorrectly handled by lexically_normal on windows
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-11-15 08:33:48


#13296: The directory-separator indicating the root-directory incorrectly handled
by lexically_normal on windows
------------------------------+-------------------------
 Reporter: peter@… | Owner: Beman Dawes
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: filesystem
  Version: Boost 1.65.0 | Severity: Problem
 Keywords: |
------------------------------+-------------------------
 According to the documentation the result for lexically_normal should
 contain backslashes on windows.
 This is not the case for the directory-separator representing the root-
 directory.

 Examples:

 {{{
 cout << path("/tmp/abc/def).lexically_normal() << endl;
 cout << path("c:\\abc/def").lexically_normal() << endl;
 }}}

 Output:
 {{{
 /tmp\abc\def
 c:/abc\def
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13296>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-11-15 08:39:44 UTC