D's limited template specialization abilities compared to C++

Ahuzhgairl bulletproofchest at gmail.com
Sat May 25 05:13:41 PDT 2013


Uneditable newsgroups. Simplest case.

struct Bar(T) {}

struct Foo(T : A(B), A, B) {
     static void f() {}
}

void main() {
     Foo!(Bar!(int)).f();
}


More information about the Digitalmars-d mailing list