On Tue, 24 Jul 2012 08:08:19 +0200, Philippe Sigaud <[email protected]> wrote:

class C(T,U) {}

// does not work on class C
template dissect1(T : Name!(Params), alias Name, Params...) {}
// works on class C
template dissect2(T : Name!(Param1, Param2), alias Name, Param1, Param2) {}

No ambiguity. But hell, a lot less power also.

Sigh... I'll go back to parsing a .stringof representation.

I went ahead and filed a new bug[1], and (90) minutes after, Kenji Hara responded
this is already implemented for 2.060.

[1]: http://d.puremagic.com/issues/show_bug.cgi?id=8420
--
Simen

Reply via email to