Fundamentals of generic programming

15Citations
Citations of this article
40Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Generic programming depends on the decomposition of programs into components which may be developed separately and combined arbitrarily, subject only to well-defined interfaces. Among the interfaces of interest, indeed the most pervasively and unconsciously used, are the fundamental operators common to all C++ built-in types, as extended to user-defined types; e.g., copy constructors, assignment, and equality. We investigate the relations which must hold among these operators to preserve consistency with their semantics for the built-in types and with the expectations of programmers. We can produce an axiomatization of these operators which yields the required consistency with built-in types, matches the intuitive expectations of programmers, and also reflects our underlying mathematical expectations. © Springer-Verlag Berlin Heidelberg 2000.

Cite

CITATION STYLE

APA

Dehnert, J. C., & Stepanov, A. (2000). Fundamentals of generic programming. Lecture Notes in Computer Science (Including Subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 1766, 1–11. https://doi.org/10.1007/3-540-39953-4_1

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free