1 // Copyright (c) 2002 by Digital Mars
3 // written by Walter Bright
10 /********************************
11 * Compiler helper for operator == for class objects.
14 int _d_obj_eq(Object o1, Object o2)
16 return o1 is o2 || (o1 && o1.opEquals(o2));
20 /********************************
21 * Compiler helper for operator <, <=, >, >= for class objects.
24 int _d_obj_cmp(Object o1, Object o2)