How to overload new operator for all classes?
Hasan Aljudy
hasan.aljudy at gmail.com
Sat Aug 5 23:39:53 PDT 2006
Thomas Kuehne wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> david schrieb am 2006-08-06:
>
>>I know global operator overload is not supported in D, but I hope new
>>could be an exception.
>>I want to write some kernel like program in D
>
>
> Simply add the operator to the Object class in
>
> src/phobos/internal/object.d
>
> Thomas
>
>
> -----BEGIN PGP SIGNATURE-----
>
> iD8DBQFE1ZsCLK5blCcjpWoRAo1aAJwIqfbIXXaPOceaczTFN1K3cflCwACdFmFa
> YE22zhE/7sZi4OOxymtxQTQ=
> =Iwzp
> -----END PGP SIGNATURE-----
Are costume allocators inherited by subclasses?
More information about the Digitalmars-d-learn
mailing list