Introduction to C++ Template Functions

Overview C++ provides two major mechanisms for code reuse: inheritance and templates. Templates can become complex so we are going to use function templates as a gentle introduction. Generally speaking, a function template applies the same algorithm to different data … Continue reading