change mixins

Michel Fortin michel.fortin at michelf.com
Sun Feb 14 15:39:16 PST 2010


On 2010-02-14 18:12:45 -0500, Bill Baxter <wbaxter at gmail.com> said:

> That's useful as a standalone:
>    MeshTypes!(MyMeshT).VectorT
> But also mixed into some class that deals with meshes
>    class MeshManipulator(MeshT) {  mixin MeshTypes!(MeshT); ... }

Can't you use

	alias MeshTypes!(MyMeshT) this;

now with D2?


-- 
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/




More information about the Digitalmars-d mailing list