Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Exchanges the elements of two stream objects.
template<class Elem, class Tr>
void swap(
basic_istream<Elem, Tr>& _Left,
basic_istream<Elem, Tr>& _Right
);
template<class Elem, class Tr>
void swap(
basic_iostream<Elem, Tr>& _Left,
basic_iostream<Elem, Tr>& _Right
);
Parameters
_Left
A stream._Right
A stream.
Requirements
Header: <istream>
Namespace: std