<istream> swap
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
);
매개 변수
_Left
스트림입니다._Right
스트림입니다.
요구 사항
Header: <istream>
네임스페이스: std