Namespaces
Variants

std::experimental:: swap (std::experimental::function)

From cppreference.net
template < class R, class ... Args >

void swap ( std:: experimental :: function < R ( Args... ) > & lhs,

std:: experimental :: function < R ( Args... ) > & rhs ) ;

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

목차

매개변수

lhs, rhs - 상태를 교환할 다형성 함수 래퍼

반환값

(없음)

예외

구현 정의 예외를 던질 수 있습니다.

예제

참고 항목

내용을 교환합니다
(public member function)