Abstract
Subprograms and packages can be generic. Generic program units are templates of program units and are often parameterized. Being templates, they cannot be used directly as ordinary subprograms or packages; for example a generic subprogram cannot be called. Instances (that is, copies) of the template are obtained by generic instantiation. The resulting subprograms and packages are ordinary program units, which can be used directly.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1980 United States Government
About this chapter
Cite this chapter
Brauer, W. et al. (1980). Generic Program Units. In: Brauer, W., et al. The Programming Language Ada. Lecture Notes in Computer Science, vol 106. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-10693-6_12
Download citation
DOI: https://doi.org/10.1007/3-540-10693-6_12
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-10693-7
Online ISBN: 978-3-540-38620-9
eBook Packages: Springer Book Archive