1
0
Fork 0
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:
Brian Fiete 2020-12-03 07:50:36 -08:00
parent 230b71cecb
commit b49e513494
5 changed files with 45 additions and 64 deletions

View file

@ -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;