Templates

Programming Languages · C++ Advanced · 18 min

Write one function or class that works for any type, from a generic max to your own Stack<T>, and see why it all happens at compile time.

This lesson is part of TuringPath Pro. See plans.

More in C++ Advanced

Previous: Inheritance and Polymorphism · Next: Smart Pointers and RAII