Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 1.2 KB

File metadata and controls

30 lines (18 loc) · 1.2 KB

CPP4 - Templates & other C++ topics

Video (5:24) Examples of function templates in C++

Note that in the video the filename was called template.cpp.

Video (10:33) Introduction to templates in C++

Note that the template in this file has 2 type parameters, but the video example starts with one type parameter and builds to 2.

Video (13:47) Example of the friend modifier for classes & methods. The example is in the context of a simple linked-list implementation.

Video (3:25) Demonstration of the explicit modifier

Video (7:26) Example of variadic template