Hi,
in my program I use the <list> template class to create my own linked list. Now, I need to add several thousand structures to that list, but if I do so, the list does only contain 2 items when I'm finished. So, is there a max value for the number of items in the linked list?
Thanks a lot
mosquitooth
David Olsen - 21 Jun 2004 18:42 GMT
> in my program I use the <list> template class to create my own linked
> list. Now, I need to add several thousand structures to that list,
> but if I do so, the list does only contain 2 items when I'm finished.
> So, is there a max value for the number of items in the linked list?
The only practical limit to the size of std::list<T> is available
memory. Adding several thousand items to a list should not be a problem.

Signature
David Olsen
qg4h9ykc5m@yahoo.com