change mixins
BCS
none at anon.com
Sun Feb 14 22:48:14 PST 2010
Hello Jonathan,
> (I don't know why you'd want the name in the first place),
mixin foo!(int) asInt;
mixin foo!(float) asFloat;
Without the names you can't access anything.
> So, I think that making templates intended to be mixed in have to be
> marked with the mixin keyword is a good idea, but I think that it's a
> bad idea to not require the mixin keyword when actually mixing it in.
Ditto.
--
<IXOYE><
More information about the Digitalmars-d
mailing list