12 Mar
2007
12 Mar
'07
1:18 p.m.
"Nat Goodspeed"
[Nat] Have you tried something like: fs::path full_path("some string", fs::no_check); ? This worked like a charm. So for example: fs::path my_path("C:\\cygwin", fs::no_check); works just as it is supposed to.
I managed to circumvent the problem with a bubblegum solution, but yours is more usable. My solution was to go back to the root(C:) with /../-steps and head back up from there. For example: fs::path my_path("./../../../some_dir/some_subdir/"); Thanks Nat!