Interfaces and Template Specializations

Jarrett Billingsley jarrett.billingsley at gmail.com
Sat Jan 10 18:21:57 PST 2009


On Sat, Jan 10, 2009 at 8:51 PM, Björn T. Herzig <raichoo at googlemail.com> wrote:
>> Go to the changelog.
>>
>> http://www.digitalmars.com/d/2.0/changelog.html
>
> Thanks, downloaded the code but my testcode won't compile
>
> void tester(U)(U u) if(is(U : Plugable) && is(U : Printable))

Try changing this to

void tester(U, DUMB=void)(U u) if(is(U : Plugable) && is(U : Printable))

stupid compiler.



More information about the Digitalmars-d mailing list