constructor · 5 overloads
ycxx::inplace_function<R(A...), Capacity, Alignment>::inplace_function
- Status
- libycxx extension; include its header (not exported by
import std;) - Header
<ycxx/functional.hpp>- Scope
ycxx::inplace_function<R(A...), Capacity, Alignment>
Constructors
Overloads
- (1)
inplace_function() noexcept; - (2)
inplace_function(const inplace_function& other); - (3)
inplace_function(inplace_function&& other) noexcept; - (4)
inplace_function(nullptr_t value) noexcept; - (5)
template<class F> requires (accepts<F>()) inplace_function(F&& f) noexcept(std::is_nothrow_constructible_v<std::decay_t<F>, F>);