import std.container;

struct A {};

void main()
{
    Array!(A)* arr = new Array!(A);
}

yields


bug.d(7): Error: template std.container.Array!(A).Array.__ctor does not match any function template declaration /usr/include/d/std/container.d(1625): Error: template std.container.Array!(A).Array.__ctor(U) if (isImplicitlyConvertible!(U,T)) cannot deduce template function from argument types !()()

Reply via email to