I'm using fixed-size CList and I was wondering what the implementation does when the list is full and I make a call to add another element. Does it fail to add? Does it replace the oldest element?
+1
A:
How are you making a fixed-size CList? I wasn't aware such a thing existed. Is it possible you've misunderstood something?
RichieHindle
2009-05-04 15:16:07
Hmm, I misread the constructor, I assumed the parameter being passed into the constructor was used to limit the max # of elements in the list... oops
kchau
2009-05-04 15:19:17
8-) Easily done. (Perhaps you could Accept my answer?)
RichieHindle
2009-05-04 15:25:42