Transcription: Templates are an excellent tool for building a family of container classes based on a specific implementation. Templates allow you to define a class for any set of user-defined types. For example, the stack templates in this example can be used to generate an unlimited number of stack classes.