Polymorphic Flyweight in C++
Coming back from our last post about generic flyweights in C++, we can write a flyweight that can be used with any abstract base classes.
Ambroisie's blog
Coming back from our last post about generic flyweights in C++, we can write a flyweight that can be used with any abstract base classes.
The flyweight is a well-known GoF design pattern.
It’s intent is to minimize memory usage by reducing the number of instantiations of a given object.
I will show you how to implement a robust flyweight in C++, as well as a way to make it templatable for easy use with no boiler-plate.
I wanted to deploy this small website to post small blog posts as the inspiration would come. Because I’m stubborn, I wanted to self-host it, however I also wanted the process to publish to my website to be as stream-lined as it could be. Therefore, I decided to have it continuously delivered so that pushing a new commit to my server would automatically build the changes and serve them.
Hello world, this is just to test the capabilities of Hugo