Ada 2005 Rationale - Structure and visibility (pt 4 of 8)
This paper describes various improvements in the areas of structure and visibility for Ada 2005.
The most important improvement is perhaps the introduction of limited with clauses which permit types in two packages to refer to each other. A related addition to context clauses is the private with clause which just provides access from a private part.
There are also important improvements to limited types which make them much more useful; these include initialization with aggregates and composition using a new form of return statement.
This is one of a number of papers concerning Ada 2005 which are being published in the Ada User Journal. An earlier version of this paper appeared in the Ada User Journal, Vol. 26, Number 2, June 2005. Other papers in this series will be found in later issues of the Journal or elsewhere on this website.
- Part 4 - Structure and Visibility - (199 KB)
posted in Ada 2005 / 95 / 83