Learning C++: Function Templates and the STL Part 1

Mike McMillan
Level Up Coding
Published in
7 min readMay 12, 2020

--

Photo by Shahadat Rahman on Unsplash

C++’s Standard Template Library is not an object-oriented library it is a generic library. Rather than member functions being called from object instances, functions call iterator ranges from various container types. These containers can hold various types of data. To be able to make this work, C++ makes extensive use of templates. In this next series of articles, I’m going to examine how to use…

--

--

Mike McMillan writes about computer programming and running. See more of his writing and courses at https://mmcmillan.gumroad.com.