|
Boost Users : |
From: Timo (timo_lampinen_at_[hidden])
Date: 2007-03-12 09:18:08
"Nat Goodspeed" <ngoodspeed_at_[hidden]> wrote in message
> [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!
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net