C++ Type Erasure: Wrapping Any Type
Understanding how to write a wrapper of any type in a class in C++ to increase the level of abstraction in our code.
Published in
6 min readOct 28, 2021
Introduction
We start with some basics about Generic Programming, Object Oriented Programming, and Duck Typing concepts to understand what problems this technique tries to…