|
Boost Users : |
From: Ken Klose (ken.klose_at_[hidden])
Date: 2007-04-25 12:15:50
cout << "init path " << initial_path().string() << endl;
cout << "init path exists " << exists(initial_path()) << endl;
prints:
init path C:/Documents and Settings/me/workspace/3.2/DciApiTest
init path exists 1
But if I try to construct the same path from a string: I get:
path init_path2(initial_path().string(), no_check); // I've also tried
'native' checker
cout << "init path 2 " << init_path2.string() << endl;
cout << "init path 2 exists " << exists(init_path2) << endl;
I get:
init path 2 C:Documents and Settings/ken.klose/workspace/3.2/DciApiTest
init path 2 exists 0
The / after the : gets lost and therefore the file isn't found.
Thanks in advance!
BTW: Using MinGW.
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