Attribute Passed_By_Reference (GNAT Reference Manual) (original) (raw)
Next: Attribute Pool_Address, Previous: Attribute Old, Up: Implementation Defined Attributes [Contents][Index]
4.46 Attribute Passed_By_Reference ¶
typ'Passed_By_Reference
for any subtype typ 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.