- Exercise
In this lesson, we'll solve an exercise on template arguments.
We'll cover the following
Problem Statement #
The class Matrix
holds its values in the container Cont
.
Cont
should have a default argumentstd::vector
.- Instantiate
myIntVec
andmyDoubleVec
without specifying the container explicitly.
Get hands-on with 1400+ tech skills courses.