How do I pass a template type as parameter?

Machine Code jckj33 at gmail.com
Tue Apr 16 21:07:51 UTC 2019


I've tried those syntaxes:

void f(appender!string buffer) { }
void f(A = appender)(A!string buffer) { }

but no luck... how do I do that?


More information about the Digitalmars-d-learn mailing list