Martin
Programming, video games, music, electronics engineering, and all things DIY.
In this post, we will look at how smart pointers can be used to implement a RAII interface to C libraries. This is the basis for my SDL2 wrapper. Using this method, we don't have to write wrapper classes.
One of the more exciting proposals for the upcoming C++20 revision is the module system (ISO/IEC TS 21544:2018). This proposal aims to solve a number of problems with C++ - not the least of which is compile times for large code bases. In this post, we will have a brief look at how modules can be used with current tooling.
© Martin Häger, 2018 - 2025.
v1.6.5 (changelog). Built with GraphQL, React and Semantic UI.