DIFF.BLOG
New Following Discover Jobs
More
Top Writers Suggest a blog Upvotes plugin
Report bug Contact About Privacy
Sign up
Topics
Follow your own topics →
Menu
New Following Discover Jobs Top Writers
More
Suggest a blog Upvotes plugin Report bug Contact About
Sign up
Privacy Policy
The home for great developer writing.
We surface the best developer writing from thousands of independent blogs, updated daily.
Join Diff.blog
TOPICS

Defending against exceptions in a scope_exit RAII type

· Raymond Chen · April 24, 2026, 3:26 p.m.
Old New Thing Code C++ Exception Handling RAII programming best practices
Summary
This blog post discusses the topic of handling exceptions in a RAII (Resource Acquisition Is Initialization) context using a scope_exit mechanism, but suggests that perhaps the effort to address this issue may not be justified.
Read full post on devblogs.microsoft.com →
MORE POSTS LIKE THIS
The Design Patterns Handbook: Learn Popular Design Patterns with C# Code Examples
freeCodeCamp.org · Sep 7, 2026
Design Patterns C++
A little helper class for managing LPPROC_THREAD_ATTRIBUTE_LISTs
Raymond Chen · Aug 14, 2026
Old New Thing Code
C++ to Rust -- Exceptions
Users Rust Lang · Apr 24, 2026
C++ error handling
C++ programmer's guide to undefined behavior: part 12 of 11
PVS-Studio blog · Jan 22, 2025
Cpp Knowledge
Winning at the n-body benchmark
Fortran Lang Discourse · Nov 9, 2026
C++ programming-languages
TCAN4x5x: a hardware-agnostic Arduino library for the Texas Instruments TCAN4550 and TCAN4x5x CAN-FD controllers
Adafruit Industries Blog · Nov 10, 2026
Arduino electronics
Discover more posts →
AUTHOR
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub Continue with Google
By continuing, you agree to our Privacy Policy.