From: Stefan Seefeld (sseefeld_at_[hidden])
Date: 2004-08-10 12:17:15
I'v some trouble with filesystem::path manipulation
with boost release 1.31 / vc 7.1 .
fs::path src = fs::path(__FILE__, fs::no_check);
std::cout << "src= " << src.string() << std::endl;
fs::path dir = src.branch_path();
std::cout << "script dir= " << dir.string() << std::endl;
generates the output
script dir= C:
i.e. it appears path::branch_path() doesn't work. Does anybody
have an idea what's going on here ?
PS: oh, and if I replace the fs::no_check above by fs::native,
I get an exception 'invalid path' which, I assume, fs::native
is supposed to suppress.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk