C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
C++ Algorithm iter_swap()C++ Algorithm iter_swap() exchanges the elements pointed to by two iterators a and b. Syntaxtemplate <class ForwardIterator1, class ForwardIterator2> void iter_swap (ForwardIterator1 a, ForwardIterator2 b); Parametera: One of the forward iterator whose value is to be exchanged. b: Second of the forward iterator whose value is to be exchanged. Return valueNone |