is (T == Specifier)

Let’s discuss the use of the “is” expression when T == Specifier.

It is used to determine whether T is the same type as specifier or whether T matches that specifier.

Whether the same type or not?

Lets consider the example from the previous lesson and use == instead of :, the condition would not be satisfied for AlarmClock:

Get hands-on with 1200+ tech skills courses.