swap(std::copyable_function)

Overloads the std::swap algorithm for std::copyable_function. Exchanges the state of lhs with that of rhs. Effectively calls lhs.swap(rhs).

# Declarations

friend void swap( std::copyable_function& lhs, std::copyable_function& rhs ) noexcept;

(since C++26)

# Parameters

# Return value

(none)

# Example

This section is incompleteReason: no example

# See also