Interfaces for strongly-typed object-oriented programming
OOPSLA '89 Conference proceedings on Object-oriented programming systems, languages and applications
The annotated C++ reference manual
The annotated C++ reference manual
Advanced C++ programming styles and idioms
Advanced C++ programming styles and idioms
Hi-index | 0.00 |
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.