411 REFERENCE · Wikibooks
Ada Programming/Attributes/'Alignment
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Attributes 'Alignment
__TOC__
Description
X'Alignment is an Ada attribute where X is any memory-allocated object or type. This attribute controls the address values used for objects. The alignment must be non-negative. A value of zero means that the object need not be allocated at the boundary of a storage units. Otherwise the address is a multiple of X's alignment.
The alignment of an object may be set.
See also
Wikibook
Ada Programming
Ada Programming/Attributes
Ada Programming/Attributes/'Address
Ada Reference Manual
13 3 Operational and Representation Attributes
K Language-Defined Attributes
Alignment
Alignment