Boost logo

Boost :

From: Phil Bouchard (philippe_at_[hidden])
Date: 2008-04-24 12:35:40


"Steven Watanabe" <watanabesj_at_[hidden]> wrote in message
news:4810B429.4090008_at_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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk