Odd boost::filesystem path behaviour?

21 Jul
2010
21 Jul
'10
12:33 p.m.
Hi, The following seems wrong to me, specifically the behaviour on Windows: path("/c:/file") Linux Windows by iteration "/", "c:", "file" "/", "c:", "/", "file" root_path "/" "/" relative_path "c:/file" "file" Is this behaviour correct? For reference, the boost::filesystem documents says: "All basic_path string or sequence arguments that describe a path shall accept the portable pathname format, ...", which the above path seems to be but it is interpreting it in a platform specific and, to my eyes, incorrect way. - Tim
5331
Age (days ago)
5331
Last active (days ago)
0 comments
1 participants
participants (1)
-
Tim Rawlinson