std::function::operator=

From Cppreference

Jump to: navigation, search
function& operator=( const function& );
(1) (since C++11)
function& operator=( function&& );
(2) (since C++11)
function& operator=( nullptr_t );
(3) (since C++11)
template< class F >
function& operator=( F&& );
(4) (since C++11)
template< class F >
function& operator=( reference_wrapper<F> );
(5) (since C++11)

Contents

[edit] Parameters

[edit] Return value

*this

[edit] Exceptions

1-4) (none)

5)
noexcept specification:  
noexcept

  (since C++11)

[edit] See also