std::move_only_function::swap
From ko.cppreference.net
void swap( move_only_function& other ) noexcept;
|
(C++23부터) | |
*this과 other의 저장된 호출 가능 객체를 교환합니다.
매개변수
| other | - | 저장된 호출 가능 객체를 교환하기 위한 함수 래퍼 |
반환값
(없음)
참고 항목
|
내용을 교환합니다
(
std::function<R(Args...)>
의 public 멤버 함수)
|