boost::filesystem::exists
// In header: <boost/filesystem/file_status.hpp> bool exists(file_status f);
Returns:
status_known(f) && f.type() != file_not_found.
status_known(f) && f.type() != file_not_found