We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We are using an overload of std:: filesystem :: exists() which can throw exception in a lot of places (please see screenshot).
std:: filesystem :: exists()
We are also using an overload of std:: filesystem :: exists() which does not throw any exception (noexcept version).
We should change all calls to std::filesystem::exists to the noexcept overload for consistency and for more exception safety.
std::filesystem::exists
noexcept
Refer : https://en.cppreference.com/w/cpp/filesystem/exists
The text was updated successfully, but these errors were encountered:
souvik1914581
No branches or pull requests
We are using an overload of
std:: filesystem :: exists()
which can throw exception in a lot of places (please see screenshot).
We are also using an overload of std:: filesystem :: exists()
which does not throw any exception (noexcept version).
We should change all calls to
std::filesystem::exists
to thenoexcept
overload for consistency and for more exception safety.Refer : https://en.cppreference.com/w/cpp/filesystem/exists
The text was updated successfully, but these errors were encountered: