tuple parameter fwd

kdmult kdmult at ya.ru
Mon Aug 5 11:45:48 PDT 2013


Hi,

I would like to use a tuple template parameter in the default 
value of another template parameter in the same class declaration 
as follows.

class A(P...) {}

class B(R = A!P, P...) {}

P... should be rightmost, so how can I use it in the preceding 
parameter?

Thanks.


More information about the Digitalmars-d-learn mailing list