digitalmars.D.learn - Get current object in method
- Tino Schmedemann (3/3) Sep 23 2005 Is there a way to get a reference/pointer to the current object in a met...
- Unknown W. Brackets (17/23) Sep 23 2005 Hopefully I'm not misreading your question, but do you mean... this, by
- Hasan Aljudy (4/10) Sep 24 2005 this
Is there a way to get a reference/pointer to the current object in a method of this object. I'm a total newbie to D so write slowly :)
Sep 23 2005
Hopefully I'm not misreading your question, but do you mean... this, by this object? By example: If that's not what you mean, could you please clarify? -[Unknown]Is there a way to get a reference/pointer to the current object in a method of this object. I'm a total newbie to D so write slowly :)
Sep 23 2005
Tino Schmedemann wrote:Is there a way to get a reference/pointer to the current object in a method of this object. I'm a total newbie to D so write slowly :)this "this" is a keyword that is a "reference/pointer to the current object in a method of this object."
Sep 24 2005