table of contents
        
      
      
    
      other versions
    
    - Tumbleweed 2024.07.05-1.3
 - Leap-16.0
 - Leap-15.6
 
| std::function::swap(3) | C++ Standard Libary | std::function::swap(3) | 
NAME¶
std::function::swap - std::function::swap
Synopsis¶
void swap( function& other ) noexcept; (since C++11)
  
   Exchanges the stored callable objects of *this and other.
Parameters¶
other - function wrapper to exchange the stored callable object with
Return value¶
(none)
See also¶
 swap swaps the targets of two std::move_only_function objects
  
   (C++23) (public member function of std::move_only_function)
| 2024.06.10 | http://cppreference.com |