Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ Moderated > insertion with ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 9 Topic 9740 of 10094
Post > Topic >>

insertion with hint

by otunali@[EMAIL PROTECTED] Jun 25, 2008 at 05:24 AM

The C++ standard (ISO/IEC 14882:2003) states in table 69 (in clause
23.1.2), for the insert member with a hint:
"Complexity: logarithmic in general, but amortized constant if t is
inserted right after p."

t is the inserted object and p the hint.

If this is the case, how would I give a hint to insert t to the
beginning of an associative container ?

Omer

-- 
      [ See http://www.gotw.ca/resources/clcm.htm
for info about ]
      [ comp.lang.c++.moderated.    First time posters: Do this! ]
 




 9 Posts in Topic:
insertion with hint
otunali@[EMAIL PROTECTED]  2008-06-25 05:24:15 
Re: insertion with hint
=?UTF-8?B?RXJpayBXaWtzdHL  2008-06-25 18:17:47 
Re: insertion with hint
Greg Herlihy <greghe@[  2008-06-26 03:57:59 
Re: insertion with hint
Chris Uzdavinis <cuzda  2008-06-26 03:57:56 
Re: insertion with hint
otunali@[EMAIL PROTECTED]  2008-06-26 13:12:26 
Re: insertion with hint
=?UTF-8?B?RXJpayBXaWtzdHL  2008-06-26 13:30:51 
Re: insertion with hint
Marsh Ray <marsh527@[E  2008-06-27 14:08:20 
Re: insertion with hint
otunali@[EMAIL PROTECTED]  2008-06-28 15:55:26 
Re: insertion with hint
Marsh Ray <marsh527@[E  2008-06-30 08:58:03 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Oct 12 22:31:57 CDT 2008.