Use function templates in C++

Use function templates in C++

How to use function templates in C++ C++ function templates allow programmers to write functions that are independent of the data types involved. More specifically, they allow programmers to reuse the same code for multiple functions that use different data types. In the video, you'll see the max function and the swap function as examples of template functions. For more detail on using template functions, press play and watch this video tutorial.

Wonder How To Use function templates in C++

This video will launch in a new window at
brightcove.com

Create/Add To Playlist

Video Information

How to use function templates in C++

Computers & ProgrammingC++

C++ function templates allow programmers to write functions that are independent of the data types involved. More specifically, they allow programmers to reuse the same code for multiple functions that use different data types. In the video, you'll see the max function and the swap function as examples of template functions. For more detail on using template functions, press play and watch this video tutorial.

you haven't graded this video yet click below to grade
A+
A
A-
B+
B
B-
C+
C
C-
D+
D
D-
F
Average Grade B
Length 3:15
Views 96
Format Flash
Curated 2 months ago by rmansur
Start the Discussion
Add your comment:
CATEGORY PARTNERS
loading...