Mono-D v0.4.1.2 - Heavily improved performance + Completion bugs removed
alex
info at alexanderbothe.com
Fri Aug 24 02:27:36 PDT 2012
On Friday, 24 August 2012 at 02:40:43 UTC, Nick Sabalausky wrote:
> On Fri, 24 Aug 2012 01:18:25 +0200
> "alex" <info at 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 :)
More information about the Digitalmars-d-announce
mailing list