mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-11 18:49:14 +02:00
* add IEquatable<T>, requested on forum.
(cherry picked from commit d38c881828
)
This commit is contained in:
parent
8fae763673
commit
a97beb3fd5
@ -86,6 +86,9 @@ interface
|
||||
generic IEnumerable<T> = interface
|
||||
function GetEnumerator: specialize IEnumerator<T>;
|
||||
end;
|
||||
generic IEquatable<T> = interface
|
||||
function Equals(Value:T):boolean;
|
||||
end;
|
||||
{$endif}
|
||||
|
||||
{$SCOPEDENUMS ON}
|
||||
|
Loading…
Reference in New Issue
Block a user