Some template tricks.
Mixin Classes: The Yang of the CRTP
by Jonathan Boccara
From the article:
Now that we’re clear on how the CRTP works, let me share with you another technique involving templates that is complementary to the CRTP: Mixin classes. I learnt about mixin classes by watching Arthur O’Dwyer’s Template Normal Programming talk at CppCon (actually you can find them in the slides because they were skipped over during the presentation)...
Add a Comment
Comments are closed.