[Issue 1835] typeof(this) should return the type of object or some other typeof() is needed

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1835 Andrei Alexandrescu changed: What|Removed |Added Version|unspecified |D2 --

[Issue 1835] typeof(this) should return the type of object or some other typeof() is needed

2010-07-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1835 Simen Kjaeraas changed: What|Removed |Added CC||simen.kja...@gmail.com --- Comment #6

[Issue 1835] typeof(this) should return the type of object or some other typeof() is needed

2010-07-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1835 Christian Kamm changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 1835] typeof(this) should return the type of object or some other typeof() is needed

2010-07-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1835 --- Comment #8 from Fawzi Mohamed 2010-07-24 16:18:40 PDT --- Yes indeed and Christian showed this templates argument allows one workaround to achieve this (a wrapper object is another). {{{ class A { void a(...){ ... } T aChain(this T)()