5 Sep
2011
5 Sep
'11
8:36 a.m.
-----Original Message-----
any ideas?
According to the documentation boost::filesystem::exists returns a bool to indicate if the path exists, an exception is thrown if something ... exceptional ... happens. ;-)
From the documentation:
bool exists(const path& p); bool exists(const path& p, system::error_code& ec); Returns: exists(status(p)) or exists(status(p, ec)), respectively. Throws: filesystem_error; overload with error_code& throws nothing. -- Best regards, Martin Dyring-Andersen