- Exercises

Let's solve a few exercises on policy and traits in this lesson.

Problem Statement 1

Extend the example below in such a way such that the type MyInt can be used as a key to an std::map.

Get hands-on with 1400+ tech skills courses.