22.1 Template Functions (cont.)
Function parameterized by type
Abstract away the differences (argument types)
Use the template prefix,
template
followed by a list of
type parameters
:
prev
|
top
|
next