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
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
Comment