Construct from Func

Synopsis

Declared in <beman/copyable_function/copyable_function_impl.hpp>

template<class Func>
copyable_function(Func&& f)
requires (!std::is_same_v<std::remove_cvref_t<Func>, copyable_function> &&
                 !_is_in_place_type<std::remove_cvref_t<Func>>::value && is_callable_from<std::decay_t<Func>>);

Parameters

Name

Description

f

The object to move construct from