mirror of
https://github.com/dlang/phobos.git
synced 2025-05-07 03:27:03 +03:00
phobos 0.76
This commit is contained in:
parent
fa1bc52ba2
commit
35a12fec2f
51 changed files with 761 additions and 183 deletions
4
object.d
4
object.d
|
@ -21,12 +21,12 @@ class Object
|
|||
return (uint)(void *)this;
|
||||
}
|
||||
|
||||
int cmp(Object o)
|
||||
int opCmp(Object o)
|
||||
{
|
||||
return (int)(void *)this - (int)(void *)o;
|
||||
}
|
||||
|
||||
int eq(Object o)
|
||||
int opEquals(Object o)
|
||||
{
|
||||
return this === o;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue