Cpp templates

From wikinotes
Revision as of 23:06, 29 November 2018 by Will (talk | contribs) (Created page with "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.")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.