Can we get rid of opApply?

Jarrett Billingsley jarrett.billingsley at gmail.com
Tue Jan 20 09:30:27 PST 2009


On Tue, Jan 20, 2009 at 12:21 PM, Max Samukha
<samukha at voliacable.com.removethis> wrote:
>
> BTW, is there a way to alias a function template instantiation?
>

A full instantiation can be.

alias Foo!(Bar, Baz) FooBarBaz;

A partial instantiation can't be, but you can do it using a proxy template.

template FooBar(U)
{
    alias Foo!(Bar, U) FooBar;
}



More information about the Digitalmars-d mailing list