Abstract
Encapsulation has been recognized as one of the most important methods for assuring that software systems maintenance is made possible. Many modern programming languages
now provide specific constructs for encapsulation
and abstraction. This note emphasizes the fact that the return types of an encapsulation's interface is a part of the interface functions themselves, and as such must also be encapsulated. The examples are given in C++ and encapsulating of the types is done using typedefs.
Publisher
Association for Computing Machinery (ACM)
Reference3 articles.
1. Interfaces for strongly-typed object-oriented programming
2. [
2
] J.O. Coplien Advanced C++ Programming Styles and Idioms Addison-Wesley 1992. [2] J.O. Coplien Advanced C++ Programming Styles and Idioms Addison-Wesley 1992.
3. [
3
] M.A. Ellis and B. Stroustrup "The Annotated C++ Reference Manual " Addison-Wesley 1990 [3] M.A. Ellis and B. Stroustrup " The Annotated C++ Reference Manual " Addison-Wesley 1990
Cited by
1 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献