Exercise: Template Policy for "MyInt std::map" Key

Test your understanding of the policy idiom.

We'll cover the following

Problem statement

Take the templatePolicy code that we discussed in the previous lesson, and extend it so that MyInt data type can also be used as the key of a std::map.

Coding exercise

Get hands-on with 1200+ tech skills courses.