Protocol

Types are meant to be used. Use implies users, and access protection rules allow to specify the conditions of the use.

Together with assertions, friendship allows for interface dedication, and for enforcing protocols along which typed objects can be accessed.

Access protection rules allow to declare simple assertions that can be checked by the compiler.


Table of contents, Type
Marc Girod
Last modified: Sat Feb 28 14:30:28 EET 1998