Annotated Ada Reference ManualLegal Information
Contents   Index   References   Search   Previous   Next 

 J.15.4 Pragma Storage_Size

Syntax

1/3
{AI05-0229-1} The form of a pragma Storage_Size is as follows: 
2/3
  pragma Storage_Size (expression);
3/3
{AI05-0229-1} A pragma Storage_Size is allowed only immediately within a task_definition.

Name Resolution Rules

4/3
{AI05-0229-1} The expression of a pragma Storage_Size is expected to be of any integer type.

Static Semantics

5/3
{AI05-0229-1} The pragma Storage_Size sets the Storage_Size aspect (see 13.3) of the type defined by the immediately enclosing task_definition to the value of the expression of the pragma.

Wording Changes from Ada 2005

5.a/3
{AI05-0229-1} This clause is new. Pragma Storage_Size was moved here from 13.3; aspect Storage_Size lives there now. 

Contents   Index   References   Search   Previous   Next 
Ada-Europe Ada 2005 and 2012 Editions sponsored in part by Ada-Europe