Cpp templates
From wikinotes
Templates provide an alternative to inheritance.
A template is a contract. It says that any class that implements this template define specific methods or attributes.
Templates provide an alternative to inheritance.
A template is a contract. It says that any class that implements this template define specific methods or attributes.