Home | Contact | Pricing | News | Events | Partners | Mailing List | Site Map

Developer Center

[Ada] AI-326 Tagged incomplete types

Monday July 4, 2005

This AI introduces the concept of a "tagged incomplete" type, which is a type that has the same restrictions as an incomplete type except that it may also be used for a formal or actual parameter. For most types, the compiler needs to see the full definition to know how parameters of the type are passed. However, because tagged types are always passed by reference, there is no implementation difficulty in allowing them to be used as parameters even when the full definition of the type is not available.

 

Posted by Posted in Ada / Ada 2005, Development Log