[filesystem] ..\foo\bar - invalid path syntax?
1 Mar
2007
1 Mar
'07
3:51 a.m.
Hi As you know, on Windows, it is conventional to use backslashes in paths. I am not out to teach Windows users a different convention, let alone "generic syntax". So I'd like to construct paths from strings like ..\foo\bar. The constructors like path(const std::string&) treat this as an invalid syntax however (changing '\' to '/' works fine). Is there a different procedure I should invoke that respects the native platform syntax? I've looked in the docs, but I didn't find it. There are only procedures for native printing. I could of course manually replace '\' with '/' in the string, but such solution probably wouldn't be very robust. Thanks
6464
Age (days ago)
6464
Last active (days ago)
0 comments
1 participants
participants (1)
-
n.torrey.pines