
David Abrahams <dave <at> boost-consulting.com> writes: [snip code]
[I know that this code needs improvement]
If you're erasing items at the end of a list<>, that's *very* expensive!
Yep, I know that, that's why I wrote that the code needs improvement. Plus, as I said, my original argument regarding this code doesn't hold water anyway...
So, sorry to be blunt, but I maintain your arguments about efficiency are invalid.
I agree that mpl::list is a poor choice. BTW, I faintly remember having tried vector right in the beginning (~2.5 years ago) but abandoned it because it didn't work very well with MSVC7.0. So I guess I'm currently requiring mpl::list just for historical reasons... Regards, -- Andreas Huber When replying by private email, please remove the words spam and trap from the address shown in the header.