Abstract
Ada Gem #3 --- Constructor functions may be used to create objects of limited types. The result of such function calls is built "in place" in the actual object being created.
Index Terms
Gem # 3: Limited types in Ada 2005 --- constructor functions
Recommendations
Gem #11: limited types in Ada 2005: constructor functions part 2
Ada Gem #11 We show here how limited constructor functions can be used in various contexts to build new limited objects in place.
Gem #1: Limited types in Ada 2005 --- limited aggregates
Ada Gem #1 --- Ada 2005 allows construction of limited objects via aggregates, thus gaining the advantage of the full coverage rules, which was previously available only for non limited types.
Gem #10: limited types in Ada 2005: extended return statements
Ada Gem #10 -- An extended_return_statement may be used to give a name to the result object being created by a function.






Comments