On Friday, 24 August 2012 at 02:40:43 UTC, Nick Sabalausky wrote:
On Fri, 24 Aug 2012 01:18:25 +0200
"alex" <i...@alexanderbothe.com> wrote:

class D : C!(A!int.SubClass) { } // is not allowed, but A!int is -- why?


IIRC, I've had problems doing anything complex in a no-paren template parameter. I always figured if you're doing no-parens, it had to be a
single token (Maybe I'm wrong?). Does it work if you do this?:
A!(int.SubClass)

It's working just with the subclass marked as static and without any further template paramters, not with A!(int.SubClass) but with A!int.SubClass :)

Reply via email to