mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-17 15:46:05 +02:00
Reworked binary operators and transformability
This commit is contained in:
parent
230b71cecb
commit
b49e513494
5 changed files with 45 additions and 64 deletions
|
@ -52,7 +52,8 @@ namespace Tests
|
|||
static
|
||||
{
|
||||
public static int CompareIt<T>(this T self, T other)
|
||||
where bool: operator T < T
|
||||
where bool : operator T < T
|
||||
where bool : operator T > T
|
||||
{
|
||||
if(self < other)
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue