From 1f782358c5cf28043218a1abf1739bae201571ee Mon Sep 17 00:00:00 2001 From: Alex Hirsch Date: Fri, 11 Dec 2020 11:15:33 +0100 Subject: [PATCH] Exercises: Add CRTP exercise --- exercises/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/exercises/README.md b/exercises/README.md index 9b9924f..0a66ec2 100644 --- a/exercises/README.md +++ b/exercises/README.md @@ -324,3 +324,8 @@ Revisit the *Advanced Template* slides. Go through the `has_print_to` example from the slides step by step. Explain all parts like it's done in the lecture. + +## Task 21 + +Take a look at [Boost Operators](https://www.boost.org/doc/libs/1_74_0/libs/utility/operators.htm). +Try to understand *why* the *curiously recurring template pattern (CRTP)* is used.