change mixins
Rory McGuire
rmcguire at neonova.co.za
Tue Jun 29 08:11:39 PDT 2010
On Tue, 29 Jun 2010 16:05:26 +0200, BCS <none at anon.com> wrote:
> Hello Simen,
>
>> Walter Bright <newshound1 at digitalmars.com> wrote:
>>
>>> Right now, mixins are defined and used as:
>>> template foo(T) { declarations... }
>>> mixin foo!(int) handle;
>>> The proposal is to switch it around:
>>> mixin template foo(T) { declarations... }
>>> foo!(int) handle;
>>>
>> What consensus was reached here?
>
> IIRC, none.
>
I really hope they make it optional at the usage site and compulsory at
the definition site.
More information about the Digitalmars-d
mailing list