Skip to content
New issue

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

Question about using custom error_code/fmt::system_error in C++11 #2266

Closed
phprus opened this issue May 5, 2021 · 4 comments
Closed

Question about using custom error_code/fmt::system_error in C++11 #2266

phprus opened this issue May 5, 2021 · 4 comments

Comments

@phprus
Copy link
Contributor

phprus commented May 5, 2021

Tell me please why {fmt} uses its own implementation of int error_code and fmt::system_error/fmt::windows_error instead of std::error_code and std::system_error from C++11 standard?

@vitaut
Copy link
Contributor

vitaut commented May 5, 2021

fmt::system_error and fmt::windows_error predate C++11 requirement. We could probably migrate to std::system_error now.

@vitaut
Copy link
Contributor

vitaut commented May 7, 2021

Custom exception classes are gone now. Thanks for the suggestion.

@vitaut vitaut closed this as completed May 7, 2021
@vitaut
Copy link
Contributor

vitaut commented May 8, 2021

Maybe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants