Next: , Previous: Pragma Compiler_Unit_Warning, Up: Implementation Defined Pragmas


2.31 Pragma Complete_Representation

Syntax:

    pragma Complete_Representation;

This pragma must appear immediately within a record representation clause. Typical placements are before the first component clause or after the last component clause. The effect is to give an error message if any component is missing a component clause. This pragma may be used to ensure that a record representation clause is complete, and that this invariant is maintained if fields are added to the record in the future.