std::experimental::function<R(Args...)>:: swap
|
void
swap
(
function
&
other
)
;
|
(라이브러리 fundamentals TS) | |
저장된 호출 가능 객체를 * this 와 other 간에 교환합니다.
* this 와 other 의 할당자(allocator)는 교환되지 않습니다.
|
동작은 정의되지 않습니다 만약 * this - > get_memory_resource ( ) ! = * other. get_memory_resource ( ) . |
(라이브러리 펀더멘털 TS)
(라이브러리 펀더멘털 TS v3 까지) |
|
동작은 정의되지 않습니다 만약 this - > get_allocator ( ) ! = other. get_allocator ( ) . |
(라이브러리 펀더멘털 TS v3) |
매개변수
| other | - | 저장된 호출 가능 객체를 교환하기 위한 function wrapper |
반환값
(없음)