mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 10:29:17 +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
|
generic IEnumerable<T> = interface
|
||||||
function GetEnumerator: specialize IEnumerator<T>;
|
function GetEnumerator: specialize IEnumerator<T>;
|
||||||
end;
|
end;
|
||||||
|
generic IEquatable<T> = interface
|
||||||
|
function Equals(Value:T):boolean;
|
||||||
|
end;
|
||||||
{$endif}
|
{$endif}
|
||||||
|
|
||||||
{$SCOPEDENUMS ON}
|
{$SCOPEDENUMS ON}
|
||||||
|
Loading…
Reference in New Issue
Block a user