First page Back Continue Last page Graphics
exmaple : details
First line defines T as an arbitrary data type that is specified by the caller when the caller calls the function. The type is classified by class, although it does not have to be a class. You can use any data type as long as it provides the operations that the template uses.
inline is a hint to the compiler to put this function in-line since it is so short.