operator · 3 overloads
std::function_ref<R const(A...) noexcept(N)>::operator=
- Header
<ycxx/functional.hpp>also in<functional>,<future>- Scope
std::function_ref<R const(A...) noexcept(N)>
Assignment operators
Overloads
- (1)
constexpr /* implementation-defined */& operator=( const /* implementation-defined */& value) noexcept = default; - (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; - (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;