<sstream> swap
Vertauscht die Werte zwischen zwei sstream-Objekten aus.
template<class Elem, class Tr, class Alloc>
void swap(
basic_stringbuf<Elem, Tr, Alloc>& _Left,
basic_stringbuf<Elem, Tr, Alloc>& _Right
);
template<class Elem, class Tr, class Alloc>
void swap(
basic_istringstream<Elem, Tr, Alloc>& _Left,
basic_istringstream<Elem, Tr, Alloc>& _Right
);
template<class Elem, class Tr, class Alloc>
void swap(
basic_ostringstream<Elem, Tr, Alloc>& _Left,
basic_ostringstream<Elem, Tr, Alloc>& _Right
);
template<class Elem, class Tr, class Alloc>
void swap(
basic_stringstream<Elem, Tr, Alloc>& _Left,
basic_stringstream<Elem, Tr, Alloc>& _Right
);
Parameter
Parameter |
Beschreibung |
---|---|
_Left |
Verweis auf ein sstream-Objekt. |
_Right |
Verweis auf ein sstream-Objekt. |
Hinweise
Die Vorlagenfunktion führt _Left.swap(_Right) aus.
Anforderungen
Header: <sstream>
Namespace: std