Пример #1
0
/// \brief TODOCUMENT
bool options_block::is_acceptable_executable(const path &arg_output_file ///< TODOCUMENT
                                             ) {
	if (arg_output_file.filename() == ".." || arg_output_file.filename() == ".") {
//		cerr << "Here0" << endl;
		return false;
	}
	if (arg_output_file.has_root_directory() || arg_output_file.has_root_name()) {
//		cerr << "Here1" << endl;
		if (!exists(arg_output_file) && !is_regular_file(arg_output_file)) {
//			cerr << "Here2" << endl;
			return false;
		}
	}
	return true;
}