Abstract
C++ templates allow programmers to write generic code, which works without modification on different datatypes. Through the careful use of templates, C++ programmers can write expressive code with high performance and low overhead, without needing to rely exclusively on more computationally expensive object-oriented techniques, such as the design patterns presented in the previous chapter.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2016 Carlos Oliveira
About this chapter
Cite this chapter
Oliveira, C. (2016). Template-Based Techniques. In: Options and Derivatives Programming in C++. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-1814-3_6
Download citation
DOI: https://doi.org/10.1007/978-1-4842-1814-3_6
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-1813-6
Online ISBN: 978-1-4842-1814-3
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books