Hi Lorenzo Villani,
The current D v1.x is v1.025, so it might be a good idea to use the newest version, also would the "alias" and the "= new" additions below help your issue?
alias Vector!(Object) vector;
int main()
{
vector myVec = new vector;
myVec.size();
return 0;
}
Regards David.