Chapter 12: Templates

View at publisher
Authors: Victor L. Eijkhout
Cited by: 0

Abstract

You have seen how objects of type vector and vector are very similar: both have methods with the same names, and these methods behave largely the same. This angle-bracket notation is called “templating” and the string or float is called the template parameter.

Fields of Study & Subjects

Logic programming and type systems Teaching and Learning Programming Engineering and Information Technology

Publication details

Journal / source
Society for Industrial and Applied Mathematics eBooks
Pages
113–121
Publication date
19 January 2026
Language
EN
Document type
Book chapter