ch-ch-changes

Yigal Chripun yigal100 at gmail.com
Fri Jan 30 00:18:18 PST 2009


Andrei Alexandrescu wrote:
> Yigal Chripun wrote:
>> that's a good point but I don't like string mixin to be used for that.
>> Actually, string mixins should be deprecated in favor of better tools.
>> IIRC, ada has expression generics, which in D would be like:
>> sort!(a.name < b.name)(vec) // instead of the above
>> the difference is that it's not a string but an expression in the
>> language itself.
>
> Where would tbe names a and b be looked at?
>
> Andrei

inside the macro scope.



More information about the Digitalmars-d mailing list