Function
swap
Swaps the contents of two values.
Include Headers
seqan/sequence.h
Remarks
The function swaps the values of variables left and right.
This is equivalent to using move three times with a temporary variable.
Note that this function has the same name as the STL function std::swap but is in a different namespace.
Argument Dependent Lookup (ADL, aka Koenig lookup) will take care that the right swap function is called from STL sort , for example.
We only specialize it for Class.String and Class.StringSet.
Member of
See Also
SeqAn - Sequence Analysis Library - www.seqan.de