Entries by Rainer Grimm

C++ Core Guidelines: Type Erasure

The rule “T.5: Combine generic and OO techniques to amplify their strengths, not their costs”  of the core guidelines to generic programming uses type erasure as an example. Type erasure? Really! Of course, it takes me two posts to explain this advanced template technique.