Skip to main content

Introduction to Templates

  • Chapter
  • First Online:
  • 3600 Accesses

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

Authors

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics