Logo image
Reconciling Encapsulation and Dynamic Dispatch via Accessory Functions
Technical documentation   Open access

Reconciling Encapsulation and Dynamic Dispatch via Accessory Functions

C. Benjamin Flynn and David Wonnacott
Rutgers University
1999
DOI:
https://doi.org/10.7282/T3S46WK8

Abstract

Many object-oriented languages allow encapsulation of data. We identify a conflict between data encapsulation and dynamic dispatch, and propose that it be resolved via the addition of ``accessory functions''. We discuss the implementation of accessory functions for C++, and show that this system extends naturally to allow multiple dispatch in C++.
pdf
dcs-tr-387198.77 kBDownloadView
Technical Documentation Open Access
url
Report an accessibility issueView
Please complete a content remediation request to report an accessibility issue with a library electronic resource, website, or service.

Metrics

93 File downloads
37 Record Views

Details

Logo image