- Exercise

Let's solve a template specialization problem in this lesson.

We'll cover the following

Problem Statement #

The class template Type in the code below returns the name unknown to each type. .

  • Use the class template Type as a starting point to write a type introspection system with the help of partial and full specialization.
  • We’ll need to write code for int, double, an arbitrary classes named Account, pointer, const, and string.

Get hands-on with 1000+ tech skills courses.