<sstream> swap

값이 두 개 사이 교환 sstream 개체입니다.

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

설명

_Left

참조 하는 sstream 개체입니다.

_Right

참조 하는 sstream 개체입니다.

설명

The template function executes _Left.swap(_Right).

요구 사항

헤더: <sstream>

네임 스페이스: std

참고 항목

참조

<sstream>

iostream 프로그래밍

iostreams 규칙