std::copyable_function::operator=

Assigns a new target to std::copyable_function or destroys its target.

# Declarations

copyable_function& operator=( const copyable_function& other );

(since C++26)

copyable_function& operator=( copyable_function&& other );

(since C++26)

copyable_function& operator=( std::nullptr_t ) noexcept;

(since C++26)

template< class F >
copyable_function& operator=( F&& f );

(since C++26)

# Parameters

# Return value

*this

# Example

This section is incompleteReason: no example

# See also