
24 Apr
2008
24 Apr
'08
4:35 p.m.
"Steven Watanabe" <watanabesj@gmail.com> wrote in message news:4810B429.4090008@providere-consulting.com... [...]
I noticed that you included a modified form of my list example. It is not equivalent. Because you are not setting front in insert(), the test if(front.get() == 0) will always be true. As a result the list will always have size 1 which defeats the purpose of the test. The original crashes on msvc 9.0.
HEAP[shifted_ptr.exe]: HEAP: Free Heap block 3f6680 modified at 3f66ac after it was freed
Yeah I'll fix that tonight quickly, my mistake. -Phil