| Thread overview |
|---|
May 20, 2008 e->Expression::castTo() equivalence in D? | ||||
|---|---|---|---|---|
| ||||
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 Re: e->Expression::castTo() equivalence in D? | ||||
|---|---|---|---|---|
| ||||
Posted in reply to davidl | 在 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 26, 2008 Re: e->Expression::castTo() equivalence in D? | ||||
|---|---|---|---|---|
| ||||
Posted in reply to davidl | 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 26, 2008 Re: e->Expression::castTo() equivalence in D? | ||||
|---|---|---|---|---|
| ||||
Posted in reply to janderson | 在 Mon, 26 May 2008 13:55:50 +0800,janderson <askme@me.com> 写道: > 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 C++ and dmdfe :p -- 使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/ | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply