mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-22 09:38:01 +02:00
IOpSubtractable
The opposite of IOpAddable, useful for generic code.
This commit is contained in:
parent
96c53d4a9e
commit
9a8beec7d9
11 changed files with 63 additions and 8 deletions
|
@ -43,6 +43,11 @@ namespace System
|
|||
static Self operator+(Self lhs, Self rhs);
|
||||
}
|
||||
|
||||
interface IOpSubtractable
|
||||
{
|
||||
static Self operator-(Self lhs, Self rhs);
|
||||
}
|
||||
|
||||
interface IOpNegatable
|
||||
{
|
||||
static Self operator-(Self value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue