digitalmars.D.learn - delegate type info?
- Lutger (3/3) Oct 24 2006 Is it possible at all to retrieve whether a given delegate is a delegate...
- Thomas Kuehne (72/75) Oct 24 2006 -----BEGIN PGP SIGNED MESSAGE-----
- Lutger (3/14) Oct 27 2006 Wow thanks. You sure know a lot about the internals, it's the .name ptr
- Thomas Kuehne (10/22) Oct 29 2006 -----BEGIN PGP SIGNED MESSAGE-----
Is it possible at all to retrieve whether a given delegate is a delegate literal or from an object, that is if the .ptr property points to an Object or not?
Oct 24 2006
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Lutger schrieb am 2006-10-24:Is it possible at all to retrieve whether a given delegate is a delegate literal or from an object, that is if the .ptr property points to an Object or not?Yes, the solution however is implementation defined. usage sample: Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFFPqwgLK5blCcjpWoRAliaAKCubrXIgEDiKhKPTVh/N1SO1VBrPwCeKHy8 dBxiBYSWMJXD+hOQ1cRjBI8= =Ui9D -----END PGP SIGNATURE-----
Oct 24 2006
Thomas Kuehne wrote:-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Lutger schrieb am 2006-10-24:Wow thanks. You sure know a lot about the internals, it's the .name ptr right that does the trick right? Does it work with GDC?Is it possible at all to retrieve whether a given delegate is a delegate literal or from an object, that is if the .ptr property points to an Object or not?Yes, the solution however is implementation defined. <awesome hack>
Oct 27 2006
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Lutger schrieb am 2006-10-27:Thomas Kuehne wrote:It should work with GDC when GPhobos catches up with DMD-0.170's Phobos. Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFFRJFxLK5blCcjpWoRAnpXAJ9aQbHlqi5hHFcmN4WqVuBh0LlnPgCfeCHe qW8qwIRgS0RD1DEg0WWFVfo= =gYt/ -----END PGP SIGNATURE-----Lutger schrieb am 2006-10-24:Wow thanks. You sure know a lot about the internals, it's the .name ptr right that does the trick right? Does it work with GDC?Is it possible at all to retrieve whether a given delegate is a delegate literal or from an object, that is if the .ptr property points to an Object or not?Yes, the solution however is implementation defined. <awesome hack>
Oct 29 2006