<list>
functions
swap
Exchanges the elements of two lists.
template <class T, class Allocator>
void swap(list<T, Allocator>& left, list<T, Allocator>& right)
Parameters
left
An object of type list
.
right
An object of type list
.
Remarks
This template function executes left.swap(right)
.
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru