Remove complex and imaginary types?
Ary Borenszweig
ary at esperanto.org.ar
Sat Jan 12 08:29:13 PST 2008
Janice Caron escribió:
> On 1/12/08, renoX <renosky at free.fr> wrote:
>> I'm thinking about the underscore '_': 5.8f_km would be replaced by
>> km(5.8f),
>
> Why not the asterisk? Oh wait! - We already /have/ that functionality!
>
> 5.8f*km
>
> is replaced by
>
> km.opMul_r(5.8f);
>
> Seems to me that nothing new is needed.
But km, i, or whatever, must be at global scope, and then you couldn't
have local variables named that way.
More information about the Digitalmars-d
mailing list