Templates

David L. Davis SpottedTiger at yahoo.com
Tue Jan 15 10:53:10 PST 2008


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.



More information about the Digitalmars-d mailing list