Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #7762

Re: STL map insert Options

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Ian Collins <ian-news@hotmail.com>
Newsgroups comp.lang.c++
Subject Re: STL map insert Options
Date Wed, 13 Jul 2011 09:01:37 +1200
Lines 15
Message-ID <983r38FglrU1@mid.individual.net> (permalink)
References <MPG.287d2c69abea9b739896c0@news.eternal-september.org> <526778d1-e768-4ee3-b42e-f8cc9444fab9@t8g2000prm.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net 7DbXJDeLhkvMwOHhcjNJmg9Zv3f6nSjeuA8PdwzCyVxLYITulZ
Cancel-Lock sha1:8NBT6TbASGp4SeL5fHQZPh9eUcI=
User-Agent Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.2.9) Gecko/20101021 Lightning/1.0b2 Thunderbird/3.1.4
In-Reply-To <526778d1-e768-4ee3-b42e-f8cc9444fab9@t8g2000prm.googlegroups.com>
Xref x330-a1.tempe.blueboxinc.net comp.lang.c++:7762

Show key headers only | View raw


On 07/13/11 08:29 AM, Stephen Howe wrote:
> Mike
>
> The value_type insert is more efficient than pair() or make_pair()
>
> See my response from an ancient thread in 2004
> https://groups.google.com/group/microsoft.public.vc.stl/tree/browse_frm/thread/a5606c0102b2fd24/ee8b0301ba96661a

Really?

I'd be very surprised if all three didn't compile down to the same 
assembly code.  It certainly does with the two compilers I tried.

-- 
Ian Collins

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

STL map insert Options mrc2323@cox.net (Mike Copeland) - 2011-07-05 14:13 -0700
  Re: STL map insert Options Ian Collins <ian-news@hotmail.com> - 2011-07-06 10:28 +1200
  Re: STL map insert Options Paavo Helde <myfirstname@osa.pri.ee> - 2011-07-06 01:14 -0500
  Re: STL map insert Options Stephen Howe <stephen.howe@kantarmedia.com> - 2011-07-12 13:29 -0700
    Re: STL map insert Options Ian Collins <ian-news@hotmail.com> - 2011-07-13 09:01 +1200
      Re: STL map insert Options Stephen Howe <stephen.howe@kantarmedia.com> - 2011-07-13 07:31 -0700
        Re: STL map insert Options Leigh Johnston <leigh@i42.co.uk> - 2011-07-13 15:59 +0100
        Re: STL map insert Options Ian Collins <ian-news@hotmail.com> - 2011-07-14 07:57 +1200
          Re: STL map insert Options Pavel <pauldontspamtolk@removeyourself.dontspam.yahoo> - 2011-07-14 00:07 -0400
            Re: STL map insert Options Ian Collins <ian-news@hotmail.com> - 2011-07-14 16:50 +1200
  Re: STL map insert Options Jorgen Grahn <grahn+nntp@snipabacken.se> - 2011-07-19 15:20 +0000

csiph-web