November 28, 2023 The C++ Dynamic Base Boilerplate
After years of using C++, I changed my snippet for the very common case of a dynamic base class that I use define interfaces, that is, to provide handles to an object as well as access to methods on that objects while still hiding the class layout and method implementations, using C++'s virtual method dispatch.
tags:
programming,
c++
›› continue reading