Abstract
Inheritance and composition provide a way to reuse object code. The template feature in C++ provides a way to reuse source code.
This is a preview of subscription content, log in via an institution.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2013 Arunesh Goyal
About this chapter
Cite this chapter
Goyal, A. (2013). Introduction to Templates. In: Moving from C to C++. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-6095-0_16
Download citation
DOI: https://doi.org/10.1007/978-1-4302-6095-0_16
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-6094-3
Online ISBN: 978-1-4302-6095-0
eBook Packages: Computer ScienceComputer Science (R0)