Ada Programming/Delimiters/<>
The box <> is a placeholder for something not (yet) fully specified.
Contexts
- In array declaration
typeSome_Arrayisarray(Positiverange<>)ofSome_Type;
Declare an array type with bounds known only at runtime.
- a type that has unknown discriminants
typeT (<>)isprivate;
- Generic declaration of a discrete type
generictypeTis(<>);
It means that T must be a discrete type: either an enumeration, a range, or a modular type.
- component association in Ada 2005
Some_Rec_Type'(others => <>);
- partial parameterization of generics in Ada 2005
genericwithpackagePisnewG (Param_1 => T,others=> <>);