Ada Programming/Delimiters/+

Arithmetic Addition
The "+" operator is defined as arithmetic addition for all numeric types.

"+" (Left, Right : T) T;

Plus sign
The "+" operator is defined as arithmetic plus sign for all numeric types.

"+" (Right : T) T;

Usage
A : Float   := +5.0; B : Integer := +5;

Type Conversion
The operator plus sign is often used to create a type conversion operator:

"+" (Left : T1) T2;

Wikibook

 * Ada Programming
 * Ada Programming/Delimiters
 * Ada Programming/Operators
 * Ada Programming/Mathematical calculations

Ada 2005 Reference Manual


|+