Afficher un message
Vieux 03/04/2008, 12h47   #1
ciccio
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Again a simple question about std::vector

Hi,

Again I am wondering about something.

If you use the swap function of an std::vector, what does it do?

Does it swap each element separately by means of copying to a tmp
variable, or does it just swap some pointers to memory blocks.

Regards
  Réponse avec citation
 
Page generated in 0,05813 seconds with 9 queries