Opened 9 years ago
#9682 new Bugs
first slash in path "a:/b/c" is interpreted as second node in [path.begin() parh.end()] sequence (windows)
Reported by: | anonymous | Owned by: | Beman Dawes |
---|---|---|---|
Milestone: | To Be Determined | Component: | filesystem |
Version: | Boost 1.55.0 | Severity: | Problem |
Keywords: | Cc: |
Description
windows boost::filesystem::path p("a:/b/c"); boost::filesystem::path result; for(boost::filesystem::path::iterator it = p.begin(); it != p.end(); ++it) {
result/=*it; value of it on second iteration is '/'
} assert(result.string() == "a:/b\c");
Note:
See TracTickets
for help on using tickets.