Unit ok_operator_test

Description

Operator overloads Delphi and FPC

Overview

Classes, Interfaces, Objects and Records

Name Description
Record TDelphiRec Operator overloads declared within a record (Delphi 2006+)
Class TMyClass In this case, "Operator" is used as a normal Delphi identifier
Record TMyType  
Record TMyType2  

Functions and Procedures

Operator :=(C : TMyType2) z : TMyType;
Operator +(c: TMyType; c1: TMyType) c2: TMyType;
Operator -(c: TMyType; c1: TMyType) c2: TMyType;
Operator *(c: TMyType; i: integer) c2: TMyType;
Operator /(A, B: TMyType): TMyType;
Operator **(A, B: TMyType): TMyType;
operator =(const c, d: TMyType) : boolean;
operator <(const c, d: TMyType) : boolean;
operator >(const c, d: TMyType) : boolean;
operator <=(const c, d: TMyType) : boolean;
operator >=(const c, d: TMyType) : boolean;
operator or(const c,d:TMyType) : TMyType;
operator and(const c,d:TMyType) : TMyType;
operator xor(const c,d:TMyType) : TMyType;

Description

Functions and Procedures

Operator :=(C : TMyType2) z : TMyType;

This item has no description.

Operator +(c: TMyType; c1: TMyType) c2: TMyType;

This item has no description.

Operator -(c: TMyType; c1: TMyType) c2: TMyType;

This item has no description.

Operator *(c: TMyType; i: integer) c2: TMyType;

This item has no description.

Operator /(A, B: TMyType): TMyType;

This item has no description.

Operator **(A, B: TMyType): TMyType;

This item has no description.

operator =(const c, d: TMyType) : boolean;

This item has no description.

operator <(const c, d: TMyType) : boolean;

This item has no description.

operator >(const c, d: TMyType) : boolean;

This item has no description.

operator <=(const c, d: TMyType) : boolean;

This item has no description.

operator >=(const c, d: TMyType) : boolean;

This item has no description.

operator or(const c,d:TMyType) : TMyType;

This item has no description.

operator and(const c,d:TMyType) : TMyType;

This item has no description.

operator xor(const c,d:TMyType) : TMyType;

This item has no description.