...
/Solution: CRTP-derived Class Restriction
Solution: CRTP-derived Class Restriction
Get a detailed explanation of the solution to the CRTP-derived class restriction exercise.
We'll cover the following...
We'll cover the following...
Solution
Explanation
- Lines 8–9: We defined a private base class constructor. Because it’s private, only a