C++: How to Utilize SBRM for C-style Interfaces and Resources

Previously I introduced the concept of scope-bound resource management, a very useful object-oriented concept available to us in C++. Unfortunately, if you’re migrating from C to C++, you likely don’t have the luxury of converting all of your legacy code to modern C++. It would still be nice to utilize SBRM strategies with our C-style …