Say i have a custom datatype:
MyBYTE
and I want to overload the == operator so that it can be compared to a BYTE like so:
if(b == mb)
{
    //can't overload that operator
}
or
if(mb == b)
{
    //CAN overload that operator
}
as far as I'm aware when mb is on the right, I cannot overload an operator within the MYBYTE class. Is this true? If so are there any workarounds?
 
    