How to take advantage of Template Classes and Functions in C++

Photo by ThisisEngineering RAEng on Unsplash

C++ gave us a new superpower which is generic programming! We an make a class and/or function which can handle any data type a user throws at it.

Template Classes:

--

--

Stories from a developer building android apps, working on AI, and other tech.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store