Function Templates
Function templates let you write one function that works with different types. The compiler generates specific versions for each type you use.
Function templates let you write one function that works with different types. The compiler generates specific versions for each type you use.