- Exercise

Let's solve an exercise in this lesson.

We'll cover the following

Problem Statement

Implement four different class templates which accept an integral, a pointer, a reference, or a nullptr as a non-type parameter. You need to display the type of data passed as a parameter.

Get hands-on with 1000+ tech skills courses.