digitalmars.D - e->Expression::castTo() equivalence in D?
- davidl (4/4) May 20 2008 there's no such equivalence as far as I can see.
there's no such equivalence as far as I can see. Is it bad to use that syntax or D lacks that specific expressiveness? -- 使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/
May 20 2008
在 Tue, 20 May 2008 16:40:06 +0800,davidl <davidl 126.com> 写道:there's no such equivalence as far as I can see. Is it bad to use that syntax or D lacks that specific expressiveness?I actually request the way of calling method in the way of free function Expression.castTo(my_inst, blahargs); RealExp.castTo(my_inst.blahargs); -- 使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/
May 20 2008
davidl wrote:there's no such equivalence as far as I can see. Is it bad to use that syntax or D lacks that specific expressiveness?I don't understand. What language is e->Expression::castTo() used? -Joel
May 25 2008
在 Mon, 26 May 2008 13:55:50 +0800,janderson <askme me.com> 写道:davidl wrote:C++ and dmdfe :p -- 使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/there's no such equivalence as far as I can see. Is it bad to use that syntax or D lacks that specific expressiveness?I don't understand. What language is e->Expression::castTo() used? -Joel
May 26 2008