On Sun, Feb 14, 2010 at 3:39 PM, Michel Fortin <[email protected]> wrote: > On 2010-02-14 18:12:45 -0500, Bill Baxter <[email protected]> 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?
Maybe. But I was thinking that only worked for one type per class. If so, then 'alias this' is a limited resource I wouldn't generally want to waste on that. --bb
