std::function_ref::operator=
Min standard notice:
- Copy assignment operator is explicitly-defaulted. std::function_ref satisfies copyable and TriviallyCopyable. This defaulted assignment operator performs a shallow copy of the stored thunk-ptr and bound-entity.
# Declarations
constexpr function_ref& operator=( const function_ref& ) noexcept = default;
(since C++26)
template< class T >
constexpr function_ref& operator=( T ) = delete;
(since C++26)
# Return value
*this