Multiple alias this, what's the hold up?
Adam D. Ruppe
destructionator at gmail.com
Sun Jun 16 22:28:31 UTC 2019
On Sunday, 16 June 2019 at 22:14:19 UTC, Walter Bright wrote:
> On 6/16/2019 7:39 AM, Timon Gehr wrote:
>> No. It's multiple imports.
>
> D already has multiple imports with template mixins. If
> multiple imports is what people want, it's already there.
Actually, I'll disagree with both of you. I think alias this is
really about enabling implicit conversion to the type of alias
this. And multiple implicit conversion is obviously useful.
Though speaking of template mixin, I think it would be kinda cool
to be able to mixin a struct or maybe a .tupleof thingy; just
treat a struct as if it was a mixin template.
More information about the Digitalmars-d
mailing list