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++ > std::list swap
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 9 Topic 43660 of 48022
Post > Topic >>

std::list swap

by Chris Forone <4one@[EMAIL PROTECTED] > Mar 4, 2008 at 01:20 PM

hello group,

is there a function to swap two elements in a std::list that only 
changes the pointers/references or ist this standard behavior anyway?

swap and iter_swap seem to change per assignment...

thanx & hand, chris
 




 9 Posts in Topic:
std::list swap
Chris Forone <4one@[EM  2008-03-04 13:20:29 
Re: std::list swap
"Niels Dekker - no r  2008-03-04 13:52:00 
Re: std::list swap
Chris Forone <4one@[EM  2008-03-04 14:09:13 
Re: std::list swap
"Niels Dekker - no r  2008-03-04 17:18:13 
Re: std::list swap
Kai-Uwe Bux <jkherciue  2008-03-04 07:59:20 
Re: std::list swap
Chris Forone <4one@[EM  2008-03-04 14:11:52 
Re: std::list swap
Kai-Uwe Bux <jkherciue  2008-03-04 08:24:58 
Re: std::list swap
Andrey Tarasevich <and  2008-03-04 09:31:03 
Re: std::list swap
Chris Forone <4one@[EM  2008-03-05 10:37:54 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Tue Oct 14 11:23:32 CDT 2008.