-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Use _STL_REPORT_ERROR in headers
#5560
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
Use _STL_REPORT_ERROR in headers
#5560
Conversation
Co-authored-by: Fulgen301 <Fulgen301@users.noreply.github.com>
|
Maybe it worth using |
_MSVC_STL_DOOM_FUNCTION in headers_STL_REPORT_ERROR in headers
|
Thanks, updated PR title and description. The difference is significant, not cosmetic: Lines 260 to 262 in 7841cf8
The UCRT's |
|
I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed. |
|
Thanks for making this consistent, and easier to follow precedent in the future! 😻 🎉 🥳 |
Resolves #5529.
terminate()still callsabort(). All other places use_STL_REPORT_ERROR.Headers only. Keep
abort()in separately compiled code to avoid losing a customization point.🚨 Drops
abort()from<utility>without any replacement🚨! Core headers should not call any functions.