19 Dec
2007
19 Dec
'07
5:11 p.m.
On Dec 18, 2007 4:59 PM, Filip Balas
For those who might run into the same error, the only thing that would work for me is to change my code to the following: #include
#include using namespace boost::filesystem;
//fs::path configPath(fs::initial_pathfs::path()); path configPath = system_complete(path("./appSettings.cfg", native));
Don't know why the boost samples don't work, but this does.
Are you sure this isn't a case of C++'s Most Vexing Parse? // This is a function declaration! fs::path configPath(fs::initial_pathfs::path()); --Michael Fawcett