Namespaces
Variants

std:: swap (std::basic_filebuf)

From cppreference.net
template < class CharT, class Traits >

void swap ( std:: basic_filebuf < CharT,Traits > & lhs,

std:: basic_filebuf < CharT,Traits > & rhs ) ;
(C++11 이후)

std::swap 알고리즘을 std::basic_filebuf 에 대해 오버로드합니다. lhs 의 상태와 rhs 의 상태를 교환합니다. 효과적으로 lhs. swap ( rhs ) 를 호출합니다.

목차

매개변수

lhs, rhs - std::basic_filebuf 객체들의 상태를 교환할

반환값

(없음)

예제

참고 항목

(C++11)
두 개의 basic_filebuf 객체를 교환
(public member function)
두 객체의 값을 교환
(function template)