Ada Programming/Attributes/'Passed By Reference

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Description

[edit | edit source]

typ'Passed_By_Reference for any subtype returns a value of type Boolean value that is True if the type is normally passed by reference and False if the type is normally passed by copy in calls. For scalar types, the result is always False and is static. For non-scalar types, the result is nonstatic.