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
Methods look like this:
virtual void log*(std::uint_fast64_t poolId) const noexcept override { SpinGuard guard{lock}; std::cerr << stringify("Pool [", poolId, "]: *") << std::flush; }
But operator<< is not noexcept.
operator<<
noexcept
The text was updated successfully, but these errors were encountered:
I suggest using printf functions instead of iostreams, since printf function family are noexcept by default.
printf
iostreams
Sorry, something went wrong.
iostreams doesnt throw exceptions by default
Yes, but you don't have a guarantee that someone didn't enable them via exceptions method. So, these methods are not noexcept (https://en.cppreference.com/w/cpp/io/basic_ostream/operator_ltlt)
exceptions
No branches or pull requests
Methods look like this:
But
operator<<
is notnoexcept
.The text was updated successfully, but these errors were encountered: