Re: Author of Visual C++ 2005 STL ???
- From: "Peter Olcott" <NoSpam@xxxxxxxxxxxxx>
- Date: Fri, 3 Apr 2009 07:11:37 -0500
"Joseph M. Newcomer" <newcomer@xxxxxxxxxxxx> wrote in
message news:fmn5t41cdbj2110c8tm3c2kfdf8u72rbp1@xxxxxxxxxx
Why do you think it represents a bug? See my other post:
where is it called *from*?
joe
The same issue does not exist in MSVC++ 2008, thus they
fixed the bug. I posted some sample code to test for the
problem.
On Tue, 31 Mar 2009 20:56:40 -0500, "Peter Olcott"
<NoSpam@xxxxxxxxxxxxx> wrote:
I wrote a std::vector that did not have this bug. (TopJoseph M. Newcomer [MVP]
posting because quoting does not work)
"Ajay" <ajaykalra@xxxxxxxxx> wrote in message
news:e8cfb723-eb20-437e-b68c-a2f8bdcb7efb@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Mar 31, 11:19 am, "Giovanni Dicanio"
<giovanniDOTdica...@xxxxxxxxxxxxxxxxx> wrote:
"PeteOlcott" <PeteOlc...@xxxxxxxxx> ha scritto nel
messaggionews:1b82dda9-f64e-4cec-8330-63117d664a0f@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
There is an issue with std::vector::push_back()
calling
the object's
copy constructor twice. I want to see if this can be
resolved.
I don't have VS2005 on this machine (I have VS2008), but
I'm curious...
std::vector::push_back is a very common method, and it
would seem strange to
me that such a common method have a similar bug.
I seriously doubt that this bug exists. IIRC, MSFT
essentially put STL
in VS from one of the very reputable vendors. This is most
likely OP's
misunderstanding/incorrect usage.
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- Follow-Ups:
- Re: Author of Visual C++ 2005 STL ???
- From: Joseph M . Newcomer
- Re: Author of Visual C++ 2005 STL ???
- References:
- Re: Author of Visual C++ 2005 STL ???
- From: Peter Olcott
- Re: Author of Visual C++ 2005 STL ???
- From: Joseph M . Newcomer
- Re: Author of Visual C++ 2005 STL ???
- Prev by Date: Re: How to activate Office's Insert Symbol dialog from C++/C# code?
- Next by Date: Re: Can you see this?
- Previous by thread: Re: Author of Visual C++ 2005 STL ???
- Next by thread: Re: Author of Visual C++ 2005 STL ???
- Index(es):
Relevant Pages
|