libycxx

operator · 3 overloads

std::function_ref<R const(A...) noexcept(N)>::operator=

Scope
std::function_ref<R const(A...) noexcept(N)>

Assignment operators

Overloads

  1. constexpr /* implementation-defined */& operator=(
        const /* implementation-defined */& value) noexcept = default;
    (1)
  2. template<class T>
      requires (!fref-from-spec<false, N, R(A...), T>) && (!is_pointer_v<T>) &&
                (!is-constant-wrapper<T>)
    function_ref& operator=(T value) = delete;
    (2)
  3. template<class T>
      requires (!fref-from-spec<true, N, R(A...), T>) && (!is_pointer_v<T>) &&
                (!is-constant-wrapper<T>)
    function_ref& operator=(T value) = delete;
    (3)