Ada Resource Association
News and resources for the Ada programming language
Ada Reference ManualLegal Information
Contents   Index   References   Search   Previous   Next 

13.11.1 The Max_Size_In_Storage_Elements Attribute

The Max_Size_In_Storage_Elements attribute is useful in writing user-defined pool types. 

Static Semantics

For every subtype S, the following attribute is defined: 

Denotes the maximum value for Size_In_Storage_Elements that could be requested by the implementation via Allocate for an access type whose designated subtype is S. For a type with access discriminants, if the implementation allocates space for a coextension in the same pool as that of the object having the access discriminant, then this accounts for any calls on Allocate that could be performed to provide space for such coextensions. The value of this attribute is of type universal_integer

Contents   Index   References   Search   Previous   Next 
Ada-Europe Sponsored by Ada-Europe