Export (0) Print
Expand All

<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

A stream.

_Right

A stream.

Header: <istream>

Namespace: std

Show:
© 2014 Microsoft