libycxx

operator · 4 overloads

ycxx::inplace_function<R(A...), Capacity, Alignment>::operator=

Status
libycxx extension; include its header (not exported by import std;)
Scope
ycxx::inplace_function<R(A...), Capacity, Alignment>

Assignment operators

Overloads

  1. inplace_function& operator=(const inplace_function& other);
    (1)
  2. inplace_function& operator=(inplace_function&& other) noexcept;
    (2)
  3. inplace_function& operator=(nullptr_t value) noexcept;
    (3)
  4. template<class F>
      requires (accepts<F>())
    inplace_function& operator=(
        F&& f) noexcept(std::is_nothrow_constructible_v<std::decay_t<F>, F>);
    (4)