Template mixins: Why is the decision to mixin made at the call site?
div0
div0 at users.sourceforge.net
Fri Aug 21 10:54:38 PDT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jarrett Billingsley wrote:
> On Fri, Aug 21, 2009 at 1:36 PM, div0<div0 at users.sourceforge.net> wrote:
>
> That's what he's suggesting, and it does make sense. When you write a
> template, *either* it's meant to be used as a mixin, *or* it's meant
> to be used some other way. Mixin in a template that wasn't meant to
> be a mixin or vice versa usually makes no sense.
Hmmm.
Not convinced by that argument, I can think of good reasons to use a
template as both.
- --
My enormous talent is exceeded only by my outrageous laziness.
http://www.ssTk.co.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iD8DBQFKjt9eT9LetA9XoXwRAncVAKDMzH22eklNXIU9ec3z0LogoUSKOQCeOht1
gF0Fp+n7roln1WL/Y8Yjqek=
=PRAK
-----END PGP SIGNATURE-----
More information about the Digitalmars-d-learn
mailing list