Ada 95 Quality and Style Guide Chapter 7

Chapter 7: Portability - TOC - 7.3 STORAGE CONTROL

7.3.1 Representation Clause

guideline

  • Do not use a representation clause to specify number of storage units.
  • rationale

    The meaning of the 'Storage_Size attribute is ambiguous; specifying a particular value will not improve portability. It may or may not include space allocated for parameters, data, etc. Save the use of this feature for designs that must depend on a particular vendor's implementation.

    notes

    During a porting activity, it can be assumed that any occurrence of storage specification indicates an implementation dependency that must be redesigned.


    < Previous Page Search Contents Index Next Page >
    1 2 3 4 5 6 7 8 9 10 11
    TOC TOC TOC TOC TOC TOC TOC TOC TOC TOC TOC
    Appendix References Bibliography