Boost logo

Boost Users :

From: Peng Yu (pengyu.ut_at_[hidden])
Date: 2007-01-30 15:30:11


Hi,

The following program gives some error. Can somebody let me know if it
is possible to open filenames starting with "."?

Thanks,
Peng

int main()
{
  boost::filesystem::ofstream file(".abc");
}

$ ./main-g.exe
terminate called after throwing an instance of
'boost::filesystem::filesystem_error'
  what(): boost::filesystem::path: invalid name ".abc" in path: ".abc"
Aborted


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