> Why does it work then? Can we use another construct, I'm thinking about
> a vector or something like this. I just need a construct where I can insert
> elments in the middle too (not just at the end or the beginning).

You could use a std::vector. Insertion is O(n) but that definitely does
not matter in your case, since there are just a few items in the vector
anyway. 

I'd suggest to make a typedef somewhere in your class, so if necessity
arises you'd have to chane just one line.

That's the fun part of the STL.

Andre'

-- 
It'll take a long time to eat 63.000 peanuts.
André Pönitz ......................... [EMAIL PROTECTED]

Reply via email to