Rationale for Ada 2005

John Barnes
Contents   Index   References   Search   Previous   Next 

9.3.4 Defaults for generic parameters

Generic subprogram parameters and object parameters of mode in can have defaults. But other parameters such as packages and types cannot. This was considered irksome and untidy and efforts (AI-299) were made to define a suitable notation for all possible generic parameters.
However, it was abandoned partly because an appropriate syntax seemed hard to find and more importantly, it was not felt to be that important.

Contents   Index   References   Search   Previous   Next 
© 2005, 2006, 2007 John Barnes Informatics.
Sponsored in part by:
The Ada Resource Association and its member companies: ARA Members AdaCore Polyspace Technologies Praxis Critical Systems IBM Rational Sofcheck and   Ada-Europe:
Ada-Europe